![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The following dbd query finds persons who like either red fruits or crunchy veggies: (and (select person instance *) (select * like (or (and (select fruit instance *) (select * color red)) (and (select veggie instance *) (select * texture crunchy)) ) ) ) What RMDB schema and SQL query will find the equivalent? Should I start with T_Person, T_Fruit, T_Veggie, T_PLikeF, T_PLikeV ? |
#3
| |||
| |||
|
|
In your language, can you query: How many fruit colors are there? [Yes] Which fruit color(s) is/are the most liked? [No] How many veggies are there that nobody likes? [No] |
#4
| |||
| |||
|
|
In your language, can you query: How many fruit colors are there? Which fruit color(s) is/are the most liked? How many veggies are there that nobody likes? |
#5
| |||
| |||
|
|
The following dbd query finds persons who like either red fruits or crunchy veggies: (and (select person instance *) (select * like (or (and (select fruit instance *) (select * color red)) (and (select veggie instance *) (select * texture crunchy)) ) ) ) What RMDB schema and SQL query will find the equivalent? Should I start with T_Person, T_Fruit, T_Veggie, T_PLikeF, T_PLikeV ? |
#6
| |||
| |||
|
|
The following dbd query finds persons who like either red fruits or crunchy veggies: (and (select person instance *) (select * like (or (and (select fruit instance *) (select * color red)) (and (select veggie instance *) (select * texture crunchy)) ) ) ) What RMDB schema and SQL query will find the equivalent? Should I start with T_Person, T_Fruit, T_Veggie, T_PLikeF, T_PLikeV ? For what dbd schema did you isuued this query? Would you show me exact |
#7
| |||
| |||
|
|
Neo wrote: The following dbd query finds persons who like either red fruits or crunchy veggies: (and (select person instance *) (select * like (or (and (select fruit instance *) (select * color red)) (and (select veggie instance *) (select * texture crunchy)) ) ) ) What RMDB schema and SQL query will find the equivalent? Should I start with T_Person, T_Fruit, T_Veggie, T_PLikeF, T_PLikeV ? For what dbd schema did you isuued this query? Would you show me exact definition of dbd schema? |
#8
| |||
| |||
|
|
For what dbd schema did you issued this query? Would you show me exact definition of dbd schema? |
#9
| |||
| |||
|
|
... store the word red only once, whether it is used as the color of fruit to someones nickname or a terrorist status). |
#10
| |||
| |||
|
|
find pilots that can fly all airplanes |
![]() |
| Thread Tools | |
| Display Modes | |
| |