Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create table in stored procedure?

963


Can you tell what are various ways to create an index?

883


Which mysql function is used to concatenate string?

1491


What is a left join mysql?

904


What are different types of queries?

950


What is the latest version of mysql?

989


What is clob datatype?

892


What is 'mysqldump'?

1073


How do I change the max connection in mysql?

962


What is mysql cursor?

900


Who developed mysql?

1021


Why do gaps in sequences occur?

959


Can you tell which of the following where clauses is faster?

912


What is delimiter in mysql stored procedure?

921


How to dump a table from a database.

1027