SELECT `Make` , `Model` , `Price` FROM `inventory` WHERE Price = MAX( Price );
thanks to all
LifeinAsia
4:25 pm on Jun 9, 2011 (gmt 0)
What do you mean by "illegal?" I don't know anyone who will issue a fine for that. :)
As far as improper syntax goes, you may need to rewrite it this way: SELECT `Make` , `Model` , `Price` FROM `inventory` WHERE Price = (SELECT MAX(Price) FROM `inventory`);
wel51x
7:48 am on Jun 10, 2011 (gmt 0)
Thanks.
you do actually get a $250 fine in Singapore; fortunately it's not as bad as chewing gum ;-)