Answer the question
In order to leave comments, you need to log in
How to form SQL correctly?
Good afternoon, there are 2 tables
sites
-----
id
http
reward
time
and
users
------
id
user_id
time
site_id
You need to select SELECT * FROM sites
and
SELECT time_in_sec FROM sites, users WHERE sites.id = users.site_id
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question