SQL
SQL stands for structured query language. It uses commands such as "select", "insert", "update", "delete". Some common relational database management systems that use SQL are: Oracle, MySQL, Microsoft SQL Server, PostgreSQL, etc.
Here are 21,383 public repositories matching this topic...
Working on a project I ran into the documentation for customizing the Foreign Key.
The docs read:
// https://sequelize.org/master/manual/assocs.html
// For example, to use UUID as the foreign key data type instead of the default (INTEGER), you can simply do:
const { DataTypes } = require("Sequelize");
Foo.hasOne(Bar, {
foreignKey: {
// name: 'myFooId'
type: DSometimes it is needed to store compressed data in the DB. Unfortunately not all the DBs have built-in compression and FUSE compressed FSes are not available for every OS. So it may make sense to store compressed binary blobs in the DB.
Unfortunately when one sees them in DBeaver he sees them compressed, but often they are needed uncompressed. So it'd be nice to have a feature to decompress the
We currently do not implement the ALTER SEQUENCE ... RESTART [with restart].
CREATE SEQUENCE customer_seq_alter_1 MINVALUE -2 MAXVALUE 2 START WITH 1 CACHE 5 INCREMENT BY -2;
SELECT nextval('customer_seq_alter_1');
SELECT nextval('customer_seq_alter_1');
ALTER SEQUENCE customer_seq_alter_1 RESTART; -- does not workClickHouse® is a free analytics DBMS for big data
-
Updated
Jan 7, 2022 - C++
Add basic CI
We already have some scripts in the scripts directory. It would be good to run them for every PR.
This is also a great task for beginners.
## Python/Regex fix
SQL powered operating system instrumentation, monitoring, and analytics.
-
Updated
Jan 5, 2022 - C++
Currently we only support Upsert for CockroachDB. Implementing same for MySQL should be pretty straightforward as well.
Wonder if we can also use INSERT ON CONFLICT UPDATE for PostgreSQL to ensure operation with same signature also works.
public void init(final MetaDataContexts metaDataContexts, final TransactionContexts transactionContexts, final ModeScheduleContext modeScheduleContext) {
this.metaDataContexts = metaDataContexts;
this.transactionContexts = transactionContexts;
this.modeScheduleContext = modeScheduleContext;
}
the modeScheduleContext is no longer used, just remove it
An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
-
Updated
Jan 6, 2022 - C
Describe the bug
Using a time dimension on a runningTotal measure on Snowflake mixes quoted and unquoted columns in the query. This fails the query, because Snowflake has specific rules about quoted columns. Specifically:
- All unquoted column names are treated as upper case
- Quoted column names are case sensitive.
So "date_from" <> date_from
To Reproduce
Steps to reproduce
Issue description
This option will improve performance in many scenarios
https://dev.mysql.com/worklog/task/?id=8134
https://www.facebook.com/weixiang.zhai/posts/678596755543802
When I try to connect dolt server using golang's go-sql-driver/mysql driver in multiple heads mode, It seems that go-sql-driver/mysql driver does't support database with a sub name. DSN string format in go-sql-driver/mysql like [username[:password]@][protocol[(address)]]/dbname[?param1=value1&...¶mN=valueN]. When dbname is "mydb", It works, but not work when dbname is "mydb/feature-branch".
A javascript library to run SQLite on the web.
-
Updated
Dec 30, 2021 - JavaScript
This would allow the CLI to try connecting to a different node is the first node goes down.
Hi,
my admin portal looks like this :
Version
- Server Installed 1.38.4
- Server Latest 1.38.4
- Web Installed -
- Web Latest 2.17.1
It seems that, at some point, 'GetInstalledWebVersion()' in 'Admin.dll' is called? Could anyone help me understand what do I need to check, to fix this?
q - Run SQL directly on CSV or TSV files
-
Updated
Nov 30, 2021 - Python
FEAT: IN operator
Database migrations. CLI and Golang library.
-
Updated
Jan 6, 2022 - Go
Describe the bug
QuestDB throws an error if my query returns 0 rows when using SAMPLE BY. It works fine and responds 0 row found without SAMPLE BY.
My query (I run it on QuestDB web console directly)
SELECT ts, pair, side, round(nsum(size)) as size
FROM liquidations
WHERE pair = 'ETC-USDT-PERP' and side = 'sell' and size > 500
SAMPLE BY 1m
ALIGN TO CALENDAR WITH OFFSET '00:00'Universal command-line interface for SQL databases
-
Updated
Jan 2, 2022 - Go
This repository contains all the DSA (Data-Structures, Algorithms, 450 DSA by Love Babbar Bhaiya, FAANG Questions), Technical Subjects (OS + DBMS + SQL + CN + OOPs) Theory+Questions, FAANG Interview questions, and Miscellaneous Stuff (Programming MCQs, Puzzles, Aptitude, Reasoning). The Programming languages used for demonstration are C++, Python, and Java.
-
Updated
Dec 9, 2021 - Jupyter Notebook
The most popular open-source eCommerce shopping cart solution based on ASP.NET Core
-
Updated
Jan 5, 2022 - C#
SQL for Humans™
-
Updated
Dec 16, 2021 - Python



Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)