What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-10-28 23:29:10
top 10 rows in mysql
select * from table_name ORDER BY id LIMIT 10; Add solution -
SQL 2021-10-26 19:11:09
sql pick random row
SELECT column FROM table ORDER BY RAND() LIMIT 1 Add solution -
SQL 2021-10-26 12:36:11
database.merge in apex
List<Account> accList = new List<Account>{new Account(Name='Myacc1'),new Account(Name='MyAcc2')}; insert accList; Account masterAcct = [SELECT Id, Name FROM Account WHERE Name = 'Myacc1' LIMIT 1]; Account mergeAcct = [SELECT Id, ... Add solution -
C 2021-10-25 12:21:12
postgres random select
select * from app_product order by random() limit 10; Add solution -
SQL 2021-10-17 10:59:12
mysql procedure example
-- MySQL -- example DELIMITER $$ -- Changes delimiter to $$ so can use ; within the procedure CREATE PROCEDURE select_employees() BEGIN select * from employees limit 1000; -- Use the ; symbol within the procedure END$$ DELIMITER ; -- Resets the del... Add solution
Best helpers
Ranking is empty