I have a mysql database where there is 3 tables ‘groupstage’, ‘quarterfinal,’ semifinal. All of these table have a column named ‘Date’. Now I want to write a query from where I can get all the fields from those tables with a specific date? what should i write it in php?
I have a mysql database where there is 3 tables ‘groupstage’, ‘quarterfinal,’ semifinal. All
Share
To get what you want, you can write a query which join the 3 tables like :
In php you should just create a var $query = “My query above”