J
J
Jackson7502018-09-30 11:16:58
MySQL
Jackson750, 2018-09-30 11:16:58

How to display a person who is listed in several tables and records from the database?

Tables
Books (id, name, published, genre, rating)
Authors (id, name, gender, born)
how to display an author who has written several books?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-09-30
@dimonchik2013

SELECT RAND() from Authors where authors.id = RAND(MAX(authors.id))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question