April 4, 2024, 9:03 p.m. | adriens

DEV Community dev.to




🪝 Intro


Ever wanted to get that kind on constraint on a table :



CREATE TABLE sensor_data(
ts TIMESTAMP,
measurement INTEGER,
...,
SORTED(ts)
);


Well, it turns out this topic has a dedicated discussion:



For now it's not implemented...yet. But we have a lot of use cases out there.


Let's see how to achieve this in pure sql... and why it would be so useful.





🍿 Demo







🤔 (A bit of) Context


We are currently using duckdb on GitHub Actions …

cases check database hack integer kind lot measurement productivity programming sql things topic use cases

Social Engineer For Reverse Engineering Exploit Study

@ Independent study | Remote

Premium Hub - CoE: Business Process Senior Consultant, SAP Security Role and Authorisations & GRC

@ SAP | Dublin 24, IE, D24WA02

Product Security Response Engineer

@ Intel | CRI - Belen, Heredia

Application Security Architect

@ Uni Systems | Brussels, Brussels, Belgium

Sr Product Security Engineer

@ ServiceNow | Hyderabad, India

Analyst, Cybersecurity & Technology (Initial Application Deadline May 20th, Final Deadline May 31st)

@ FiscalNote | United Kingdom (UK)