How can I call sub-query in MYSQL? For example:
SELECT * FROM pr_groups WHERE pr_groups.group_id=(SELECT groups_id FROM pr_items)
Besides, does mySQL allow creation of query file like MS-Access, so that I can call the query file from another query statement. For example:
SELECT * FROM query_file_name
SELECT * FROM pr_groups WHERE pr_groups.group_id=(SELECT groups_id FROM pr_items)
Besides, does mySQL allow creation of query file like MS-Access, so that I can call the query file from another query statement. For example:
SELECT * FROM query_file_name