1

How do I go about using sql SELECT DISTINCT in fusion tables API?

asked Sep 16, 2013 at 15:03
3
  • It does not seem to be supported (Officially) developers.google.com/fusiontables/docs/v1/sql-reference Commented Sep 16, 2013 at 15:21
  • Am getting this recurrence in the column my column table as seen in the image below. I only want three options; Urban, rural and peri urban. How do i go about doing that? postimg.org/image/50jz3oi9n Commented Sep 16, 2013 at 18:47
  • muito obrigado me ajudou muito [Thank you very much, it helped me a lot.] converted answer to comment with translation. Commented Jun 9, 2018 at 1:57

1 Answer 1

1

While you can't use SELECT DISTINCT, you can use a GROUP BY to solve some of the same problems as DISTINCT:

SELECT DISTINCT name, address from TABLEID

and

SELECT name, address from TABLEID group by name, address

should yield the same results. Fusion Tables SQL is quirky though so you may need to throw a "count()" into your SELECT statement.

(Yes, old thread.)

answered Mar 9, 2015 at 22:49

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.