S
S
Sergey2016-09-13 22:17:27
MySQL
Sergey, 2016-09-13 22:17:27

How to make a mysql query from two tables, but not quite simple?

There are two tables: event and command
in event the id of two teams is entered
.
I did it through joins, but I could only display the name of one command, and for the second I don’t understand how to do it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2016-09-14
@UDAV99

Second JOIN with the same instruction table, only with a different alias (AS) and by a different key.

A
Anatoly, 2016-09-13
@taliban

And you tell me how you want to get the answer, give an example of the result

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question