Auto commit
This commit is contained in:
parent
813d3b3be4
commit
9219d6cc3c
@ -230,11 +230,11 @@ FROM tb_books b;
|
||||
UPDATE tb_books b
|
||||
SET b.note = SUBSTR(b.note,INSTR(b.note,'-')+2);
|
||||
|
||||
#7
|
||||
SELECT b.book_id, b.title,
|
||||
FROM tb_books b
|
||||
WHERE YEAR(b.publication_date) BETWEEN 1980 AND 2010
|
||||
ORDER BY
|
||||
#7 tj11
|
||||
SELECT b.book_id, b.title, a.author_id, a.author_name, b.publication_date
|
||||
FROM tb_books b, tb_authors a
|
||||
WHERE b.note = a.author_name AND YEAR(b.publication_date) BETWEEN 1980 AND 2010
|
||||
ORDER BY b.publication_date DESC;
|
||||
|
||||
#8
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user