Level 122
You can have nested, or subqueries, so yes, perfectly possible to have these more than once
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi everyone,
I'm trying to create my own simple Database Management System with an input for SQL Queries. I've got a question about SQL:
Is it possible to have more than one keyword in a query?
With keyword I mean one of these:
SELECT
INSERT
UPDATE
DELETE
DROP
CREATE
ALTER
If the answer is no, I know I can scan a string to know which action to do.
Thank you! Jeroen van Rensen
You can have nested, or subqueries, so yes, perfectly possible to have these more than once
Please or to participate in this conversation.