4D v14Subqueries |
||
|
4D v14
Subqueries
Subqueries
We would now like to get some statistical information regarding the tickets sold: what are the movies where the tickets sold are greater than the average tickets sold for all the movies. To execute this query in SQL, we will use a query within a query, in other words, a subquery.
To test all the above examples, launch the "4D SQL Code Samples" database and go to the main window. You can then choose the query mode and press the Subqueries button. |
PROPERTIES
Product: 4D ARTICLE USAGE
4D SQL Reference ( 4D v11 SQL Release 4 ) |