Answer the question
In order to leave comments, you need to log in
How to translate these sql queries into Russian?
How to translate these sql-queries to the great and mighty?
one.
SELECT id, LEFT(joketext, 20), name, email
FROM joke INNER JOIN author
ON authorid = author.id
SELECT joketext
FROM joke INNER JOIN jokecategory
ON joke.id = jokeid
INNER JOIN category
ON categoryid = category.id
WHERE name = "о д'Артаньяне"
SELECT author.name <- не понятно в этом месте
FROM joke INNER JOIN author
ON authorid = author.id
INNER JOIN jokecategory
ON joke.id = jokeid
INNER JOIN category
ON categoryid = category.id
WHERE category.name =
"о д'Артаньяне" <- не понятно в этом месте
Answer the question
In order to leave comments, you need to log in
1) These are SQL queries
2) on the last query:
you get a table created from 4 different tables with common fields:
this table will contain author.name (from author) and category.name (from category).
For a better understanding of this and other queries, go to 'SQL Queries'. PHP is out of business here))).
There are detailed explanations, even with pictures)))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question