Sobes.tech

Data Engineer

How can an SQL injection occur through a date input field?

255

SELECT * FROM table1 AS t1 LEFT JOIN table2 AS t2 ON t1.date_start > t2.date_start d = { True: 42, 1: 2, 1.0: 100500 } print(d)

252

SELECT * FROM table1 AS t1 LEFT JOIN table2 AS t2 ON t1.date_start > t2.date_start

251

SELECT * FROM table1 AS t1 LEFT JOIN table2 AS t2 ON t1.date_start > t2.date_start --DML CREATE TABLE IF NOT EXISTS Employee (id int, salary int, departmentId int); INSERT INTO Employee (id,salary,departmentId) VALUES (1, 70000, 1),(2, 94000, 1),(3, 85000, 1),(4, 80000, 2),(5, 60000, 2),(6, 62000, 3),(7, 90000, 3),(8, 94000, 3),(9, 94000, 3); with cte as( select *, rank() over(partition by departmentId order by salary desc) as max_salary from Employee ) select * from cte where max_salary = 1

220

What is the difference between EXPLAIN and EXPLAIN ANALYZE?

206

What happens when queries are parallelized in a single-node Postgres?

206

Have you ever had to create reports, dashboards, visualizations (BI)?

200

Starting from which features can it be said that a data store is needed?.

193

How do you approach a situation when the business requests a report with data visualization for a new promotion?

192

What are the disadvantages of MPP architecture in Greenplum?

189

What is a decorator in Python and what is it used for (in the context of Airflow)?

187

What is the purpose of a foreign key constraint and what is the meaning of delete/update restrictions when dependent records exist?

181

Tell me about Greenplum — data storage formats, row-based and columnar storage.

180
/3