Deleting Data from MySQL Tables
DELETE with WHEREDELETE FROM employees WHERE id = 2;Delete All RowsDELETE FROM employees;Use with caution — consider usi...
Search guides, SQL, error codes, and procedures — or browse by topic below.
388 guides · 8 topics
API to Update FND_LOOKUP DECLARE l_lookup_type VARCHAR2 (250); l_lookup_code VARCHAR2 (250);...
Oracle SQL Performance & TuningOracle provides features and tools to analyze and tune query performance.Execution PlansI...
Lists the Business Units the current BI Publisher user has data access to, based on their user role data assignments &md...
Lists the Data Access Sets (GL access sets) the current user has access to — used as the LOV source for a "Data Ac...
SELECT IOP.ORGANIZATION_CODE, IOP.ORGANIZATION_ID, IOP.INVENTORY_FLAG, (SELECT NAME FROM...
Lists the Data Access Sets (GL access sets) the current user has access to — used as the LOV source for a "Data Ac...
Updated Oct 10, 2026
security-parametersLists the Business Units the current BI Publisher user has data access to, based on their user role data assignments &md...
Updated Oct 10, 2026
security-parametersLists the Business Units the current user has procurement agent access to, via their PO agent assignment — used as...
Updated Oct 12, 2026
security-parametersLists the Ledgers the current user has direct data access to — used as the LOV source for a "Ledger" report parame...
Updated Oct 06, 2026
security-parametersLists the Fixed Asset Books the current user has data access to — used as the LOV source for a Fixed Assets report...
Updated Oct 03, 2026
security-parametersLists the Intercompany Organizations the current user has data access to — used as the LOV source for an intercomp...
Updated Oct 03, 2026
Guides filed under this topic.
DELETE with WHEREDELETE FROM employees WHERE id = 2;Delete All RowsDELETE FROM employees;Use with caution — consider usi...
Basic SELECTSELECT * FROM employees;SELECT Specific ColumnsSELECT id, name FROM employees;
ExampleSELECT * FROM employees WHERE salary > 50000;WHERE works with all DML operations to refine your target dataset.
ExampleSELECT department_id, AVG(salary) FROM employees GROUP BY department_id;
GROUP BY SyntaxSELECT department_id, COUNT(*) FROM employees GROUP BY department_id;This groups employees by department...
ExampleSELECT department_id, COUNT(*) AS emp_count FROM employees GROUP BY department_id HAVING COUNT(*) > 5;
INNER JOINSELECT e.name, d.name FROM employees e JOIN departments d ON e.dept_id = d.id;LEFT JOINSELECT e.name, d.name F...
Subquery in WHERESELECT name FROM employees WHERE salary > (SELECT AVG(salary) FROM employees);Subquery in FROMSELECT de...
ExamplesSELECT CONCAT(first_name, ' ', last_name) AS full_name FROM employees; SELECT LENGTH('MySQL'); SELECT SUBSTRING(...