Difference between revisions of "Select"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
* [[MongoDB]]: <code>db.YOUR_COLLETION_NAME.[[find]] ()</code> | * [[MongoDB]]: <code>db.YOUR_COLLETION_NAME.[[find]] ()</code> | ||
* <code>[[select count]]</code> | * <code>[[select count]]</code> | ||
− | * <code>[[GRANT]]</code> | + | * <code>[[GRANT SELECT]]</code> |
== See also == | == See also == |
Revision as of 13:10, 26 January 2022
select * from your_table_name
SELECT * FROM your_table_name; ERROR: permission denied for table your_table_name
SELECT version();
select current_setting('block_size');
- MySQL:
select user FROM mysql.user;
Related terms
- MongoDB:
db.YOUR_COLLETION_NAME.find ()
select count
GRANT SELECT
See also
- SQL, NewSQL, RDMS: GraphQL (2015), SQLite,
select, insert
,select count
, Distributed SQL, TablePlus, Cache hit ratio,pg_stat_user_tables
,EXPLAIN
, Index (PostgreSQL), DDL, SQL/MED, Group by, List users, SQL Injection, SQLAlchemy,CREATE USER, CREATE ROLE, EXPLAIN, ALTER DATABASE, REVOKE, NOLOCK, NOWAIT, EXISTS
, Unique constraint,.sql
Advertising: