What's the difference between these time-complexity wise?
mysql_query("SELECT * FROM table WHERE id = 0 OR id = 1 OR id = 2");
and
mysql_query("SELECT * FROM table WHERE id = 0");
mysql_query("SELECT * FROM table WHERE id = 1");
mysql_query("SELECT * FROM table WHERE id = 2");
How does it scale with a lot of rows in the table?
How does it scale with a lot of mysql_query calls instead of three?
I'm mostly just wondering if it's much more inefficient to do multiple calls instead of one and how that scales.