For the database from the previous question, please give an
SQL query which returns the invoice number of all invoices
which contain the article with the number ?1234?. The query
should be able to run under a MySQL 4.0 database.
Answer / frank
SELECT invoiceNumber FROM invoices i INNER JOIN articles a
ON i.articleId=a.articleId WHERE article LIKE '%1234%';
Is This Answer Correct ? | 0 Yes | 0 No |
Where’s database data actually stored?
How to use rank function in mysql?
What do you mean by % and _ in the LIKE statement?
What is the limit of mysql database?
What is join in mysql? What are the different types of join?
Is mysql a odbc?
What do ddl, dml, and dcl stand for?
Why use stored procedures in mysql?
Explain the different types of constraints?
What is a procedure example?
What is the difference between having and where clause in mysql? Explain
How do I check mysql version?