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 |
What is mysqli_free_result?
Explain the difference between delete and truncate.
What is orm in mysql?
How can I compare two mysql databases?
What is the difference between unix timestamps and mysql timestamps?
How to declare variable in mysql trigger?
What are mysql data types?
What are the types of index?
What are the applications required to support mysql?
How do I disable mysql?
What is a storage engine? What are the differences between innodb and myisam engines?
How to insert dynamic values in mysql using php?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)