Skip to content
Advertisement

sql query results depend on attributes of other table

Cars:

CarAttributes:

How would the sql query look if the returns depend on the attributes of the car like following:

Advertisement

Answer

You can use aggregation with a having clause:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement