An employee
An employee

Reputation: 6298

Mysql 2 queries in one?

Apparently i need two queries to get the data i need. I cant give out to much information but is it possible to write 2 queries in one statement? (I have a feeling it is possible).

Using mysql 4

Upvotes: 0

Views: 144

Answers (2)

Alt-Rock Ninja Cowgirl
Alt-Rock Ninja Cowgirl

Reputation: 526

If the question is "Can I execute two commands in one query?" then the answer is "no."

Upvotes: -1

Stefan Kendall
Stefan Kendall

Reputation: 67802

SELECT * FROM tooVague;
SELECT * FROM googleIt;

Upvotes: 5

Related Questions