Page 1 of 1

Which one of the following indexes would you choose to create to improve the runtime of the following SQL query that fin

Posted: Mon Jun 06, 2022 5:53 pm
by answerhappygod
Which One Of The Following Indexes Would You Choose To Create To Improve The Runtime Of The Following Sql Query That Fin 1
Which One Of The Following Indexes Would You Choose To Create To Improve The Runtime Of The Following Sql Query That Fin 1 (37.12 KiB) Viewed 25 times
Which one of the following indexes would you choose to create to improve the runtime of the following SQL query that finds the names of all restaurants which are located in the Inner West neighbourhood? SELECT R.name FROM Restaurants R, Neighbourhoods N WHERE ST_Contains (N.geom, R.location) = True AND N.name = 'Inner West'; O A GIST/R+-tree index on Neighbourhoods.geom O A GIST/R+-tree index on Restaurants.location O A B+-tree index on (Restaurants.name, Neighbourhoods.geom, Restaurants.location) O A bitmap index on Neighbourhoods.name O A B+-tree index on (Neighbourhoods.geom, Restaurants.location)