Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
比如在 LEFT JOIN 中过滤条件写在 ON 和 WHERE 的区别。
-
Table-value function 和 scalar-valued function 的区别.
-
char、varchar、nvarchar之间的区别(包括 …
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
比如在 LEFT JOIN 中过滤条件写在 ON 和 WHERE 的区别。
Table-value function 和 scalar-valued function 的区别.
char、varchar、nvarchar之间的区别(包括 …
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Avoid implicit data convertion! This might cause full table scan which hurts performance badly. For more discussions, please refer to 一条垃圾SQL,把 64 核 CPU 快 …
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
| Data Type | C | C++ | Rust | Java | Python | numpy | pyarrow | Spark SQL | SQL |
|---|---|---|---|---|---|---|---|---|---|
| 8 bit integer | short (16-bit) | int8_t | i8 | short (16-bit) | int (arbitrary precision) | int8 | TinyInt … |
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
GRANT
priv_type [, priv_type ] ...
ON database_table_or_view_name
TO principal_specification [, principal_specification] ...
[WITH GRANT OPTION];
Examples:
GRANT SELECT ON table1 TO USER user1;
GRANT SELECT ON DATABASE db1 TO USER user1 …Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
can be leverage
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Logically any SELECT is processed in following order:
Besides the proprietary QUALIFY/SAMPLE every DBMS will do it exactly …