What does the below query explain?
SELECT * FROM `jos_menu` WHERE (id = 69 OR id = 72)
I know its very silly question, but sometimes easy things creates mess in my skulls interpreter.. Pls help
EDIT
Its giving me record for both IDs, why is it doing so? It should five me the record for either 69 or 72….
I think you mean “Explain what the below query does”, which I’ll do:
jos_menutable. Return all rows whose id’s are 69. Also return all rows whose id’s are 72.Essentially what it does is it goes through each row and checks:
etc..