[[["select", "a.nrp, a.nama, b.dept as departemen"], ["from", "db_hrga.tb_karyawan a"], ["join", "db_hrga.tb_dept b", "a.dept_id = b.id AND b.aktif = 1", "left"], ["where", "a.nrp", "123"], ["get_compiled_select"]], [["select", "DATE_FORMAT(tanggal, '%Y-%m-%d') as tgl, COUNT(*) total"], ["from", "t_absen"], ["where", "tanggal >=", "2024-01-01"], ["where", "tanggal <=", "2024-01-31"], ["group_by", "tgl"], ["order_by", "tgl", "desc"], ["get_compiled_select"]], [["from", "users"], ["where", "status IS NULL"], ["where", "x !=", null], ["where", "y", null], ["where", "z =", null], ["get_compiled_select"]], [["select", "*"], ["from", "t"], ["where", {"a": 1, "b": "two", "c <>": "3"}], ["or_where", "d", "4"], ["limit", 10, 20], ["get_compiled_select"]], [["from", "t"], ["where_in", "nrp", ["1", "2", 3]], ["where_not_in", "dept", ["A"]], ["or_where_in", "x", ["y"]], ["get_compiled_select"]], [["from", "t"], ["like", "nama", "an%_d"], ["or_like", "nrp", "12", "after"], ["not_like", "x", "y", "before"], ["get_compiled_select"]], [["from", "t"], ["where", "a", "1"], ["group_start"], ["where", "b", "2"], ["or_where", "c", "3"], ["group_end"], ["or_group_start"], ["where", "d", "4"], ["group_end"], ["get_compiled_select"]], [["select", "a.*, b.nama"], ["from", "t1 a, t2 b"], ["where", "a.id = b.id", null, false], ["order_by", "a.id DESC, b.nama asc"], ["get_compiled_select"]], [["select", "IFNULL(SUM(x),0) AS total", false], ["from", "t"], ["where", "DATE(tgl)", "2024-01-01"], ["get_compiled_select"]], [["from", "t"], ["where", "tgl BETWEEN '2024-01-01' AND '2024-01-31'"], ["where", "x", "it's"], ["get_compiled_select"]], [["from", "t"], ["order_by", "id", "RANDOM"], ["limit", 5], ["get_compiled_select"]], [["distinct"], ["select", "dept"], ["from", "db_sys.t_dept"], ["order_by", "dept"], ["get_compiled_select"]], [["from", "t a"], ["join", "t2 b", "b.id=a.id"], ["join", "t3 c", "c.id = b.cid and c.flag = 'Y'", "inner"], ["join", "t4", "id"], ["get_compiled_select"]], [["select", "a.nrp,b.nama,(select count(*) from x where x.n=a.nrp) as jml"], ["from", "a"], ["join", "b", "a.nrp=b.nrp", "left"], ["get_compiled_select"]], [["set", {"nama": "O'Neil", "umur": 30, "aktif": true, "note": null}], ["get_compiled_insert", "db_hrga.t_karyawan"]], [["set", "counter", "counter+1", false], ["set", "updated", "NOW()", false], ["where", "id", 5], ["get_compiled_update", "t"]], [["set", {"status": "1", "key": "x"}], ["where", "nrp", "123"], ["where", "tanggal", "2024-01-01"], ["get_compiled_update", "db_opr.tbl"]], [["where", "id", "9"], ["get_compiled_delete", "t"]], [["from", "t"], ["where", "nrp", "123"], ["where", "date", "2024"], ["having", "total >", 5], ["group_by", ["a", "b"]], ["get_compiled_select"]], [["select", "max(id) id"], ["from", "t"], ["get_compiled_select"]], [["from", "t"], ["where", "x IN (1,2)"], ["where", "y NOT IN ('a')"], ["where", "EXISTS (select 1 from z)"], ["get_compiled_select"]], [["select", "a.status, b.`desc`"], ["from", "t a"], ["join", "s b", "a.sid = b.id"], ["where", "a.status", "Open"], ["where", "b.type", "A"], ["get_compiled_select"]], [["from", "t"], ["where", "a.created_date >= DATE_SUB(NOW(), INTERVAL 1 DAY)"], ["get_compiled_select"]], [["from", "t"], ["where", "nama LIKE '%x%'"], ["where", "DATE_FORMAT(tgl,'%Y-%m')", "2024-01"], ["get_compiled_select"]], [["select", "t.*"], ["from", "t"], ["where", "t.id", 1.5], ["where", "t.x", "1.50"], ["get_compiled_select"]], [["select_sum", "a.jumlah"], ["select_max", "b.tgl", "mx"], ["from", "t"], ["get_compiled_select"]], [["from", "t"], ["order_by", "FIELD(x,'a','b')", "", false], ["get_compiled_select"]], [["from", "t"], ["order_by", "nama"], ["order_by", "tgl", "DESC"], ["limit", 1], ["get_compiled_select"]], [["from", "t"], ["where", "shift", "1"], ["where", "(a = 1 OR b = 2)"], ["get_compiled_select"]], [["select", "CONCAT(a,' ',b) nama, c"], ["from", "t"], ["get_compiled_select"]], [["select", "a.x, b.y"], ["from", "(select 1 x, 2 y) a"], ["join", "t c", "c.id = a.x", "left"], ["where", "a.x", "1"], ["get_compiled_select"]], [["from", "t1, t2"], ["join", "t3", "t3.id = t1.id"], ["get_compiled_select"]]]