Jump to content

the query


runeveryday

Recommended Posts

$result = mysql_query("SELECT area,
agent_name,
item_name,
quantity,
item_price,
(quantity*item_price) as total
FROM agents
INNER JOIN sales on agents.agent_id = sales.agent_id
INNER JOIN items on sales.item_id = items.item_id
ORDER BY area ASC");

what about this query mean? any tips would be appreciated

Link to comment
https://forums.phpfreaks.com/topic/208294-the-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.