We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- SQL
- Basic Select
- Select All
- Discussions
Select All
Select All
Sort by
recency
|
406 Discussions
|
Please Login in order to post a comment
SELEXT * FROM CITY
ORACLE PL/SQL:
SET SERVEROUTPUT ON; BEGIN for r in (SELECT * FROM CITY) LOOP DBMS_OUTPUT.PUT_LINE(r.id || ' ' || r.name || ' ' || r.countrycode || ' ' || r.district || ' '|| r.population); END LOOP; END; /
SELECT * FROM CITY; this is the answer for above question
i was also facing same issue. but this query will give correct output..
SELECT * FROM CITY Where COUNTRYCODE IN ('USA','NLD');
For MySQL PLatform