V
V
Vladimir Galynsky2016-06-10 18:08:54
MySQL
Vladimir Galynsky, 2016-06-10 18:08:54

How to SELECT to multiple tables?

Hello. I have the following query (shown below). Three tables (office_event, accounting_event, production_event). The structure is the same for all (id, uid, uname, udate, ustatus). How to make such request to all three tables? Thanks in advance.

SELECT id FROM office_event WHERE udate >= CURDATE() AND uid = :uid

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D', 2016-06-10
@sagegalynsky

How to form an sql query to search multiple tables at the same time?

Question asked 58 minutes ago

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question