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 By ID
- Discussions
Select By ID
Select By ID
Sort by
recency
|
386 Discussions
|
Please Login in order to post a comment
is there any syntax we can use with unique value?
ORACLE PL/SQL:
SET SERVEROUTPUT ON; BEGIN FOR a in (select * from city where id = 1661) LOOP DBMS_OUTPUT.PUT_LINE(a.id || ' ' || a.name || ' ' || a.countrycode || ' ' || a.district || ' '|| a.population); END LOOP; END; /
SQL is such a powerful language for managing and analyzing data. Once you understand the basics, it opens up endless possibilities for querying and organizing information efficiently. funniexchange
select * from city where id = 1661;
For MySQL