-3
어떻게이 결합 할 수 있습니다?가입 결과
$raw_results = mysql_query("SELECT rtgitems.item, (totalrate/nrrates) AS rank
FROM rtgitems
INNER JOIN vouchers ON vouchers.item = rtgitems.item
ORDER BY (totalrate/nrrates)
DESC LIMIT 5")
or die(mysql_error());
감사 :
감사 –
@MKJ DB에서 선택할 항목을 알 수 있도록 select 문에서 rtgitems.item 또는 vouchers.item으로 항목을 변경하십시오. – Alex
예. 방금 해보니 효과가있었습니다. 건배. –