Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular

SQLize.online is a free online SQL environment for quickly running, experimenting with and sharing code. You can run your SQL code on top of the most popular RDBMS including MySQL, MariaDB, SQLite, PostgreSQL, Oracle and Microsoft SQL Server.

Copy Format Clear
SELECT city.city_id, city.city, COUNT(customer.customer_id) AS customer_count FROM customer JOIN address ON customer.address_id = address.address_id JOIN city ON address.city_id = city.city_id GROUP BY city.city_id, city.city ORDER BY customer_count DESC LIMIT 1;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear