acmsguru |
---|
Finished |
key=value. Any object can't have two or more properties with the same key. Alex needs to improve the performance of the following query:
SELECT COUNT(*) FROM Objects WHERE key1=value1 AND... AND keyl=valuel
sample input | sample output |
4 3 width=5 ht=3 len=10 2 name=circ rad=5 2 name=circ rad=5 3 name=sqr width=5 ht=3 4 2 ht=3 width=5 1 name=circ 1 name=sqr 2 width=5 ht=03 | 2 2 1 0 |
Name |
---|