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 are the differences between char and varchar data types?
Explain % and _ inside like statement?
What is mysql common?
Where is the mysql database stored?
What is the usage of "i-am-a-dummy" flag in mysql?
What is mysql in dbms?
Define REGEXP?
Can we use mysql and mysqli together?
What are the mysql database files stored in system ?
How to save images in MySQL?
What is mysql57?
how we can use more then one primary key in Single Table
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)