SQL: Find All Tables with a Specific Column

  Рет қаралды 1,439

Database Star

Database Star

Күн бұрын

Пікірлер: 7
@pravinprince3221
@pravinprince3221 2 ай бұрын
Thank you for the wonderful video sir, it is so helpful for me and my team , thanks again sir
@DatabaseStar
@DatabaseStar 2 ай бұрын
Glad it helped!
@minnuss
@minnuss 2 ай бұрын
Great Tip! Thank you !
@DatabaseStar
@DatabaseStar 2 ай бұрын
You're welcome
@matrixevo88
@matrixevo88 2 ай бұрын
Great video! Is there a simple way to include a count of rows for each column_name? I mostly use SQL Server.
@DatabaseStar
@DatabaseStar 2 ай бұрын
Thanks! What do you mean by "count of rows for each column name"? Each column will have the same number of rows - the rows are part of the table. For example, a customer table with 5 rows would have 5 rows for first name and 5 rows for last name.
@matrixevo88
@matrixevo88 2 ай бұрын
@@DatabaseStar I didn't word that well. By "count of rows for each column name" I am referring to the same value that would be returned using SELECT COUNT(*) FROM ;. So technically it would be a count of rows for each table. I don't think it's a value existing in the data dictionary (e.g., information_schema). It's probably not a feasible query. It would just be neat to have that extra piece of information (like metadata) for each table. I suppose that's out of scope for this video anyway, because it's about columns more than tables.
I Tried to Query 10 MILLION Rows in Postgres in 1 Second
14:21
Database Star
Рет қаралды 1,4 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 87 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
MySQL vs PostgreSQL Performance
13:23
Anton Putra
Рет қаралды 45 М.
How to Generate 10 MILLION Sample Rows in SQL
24:29
Database Star
Рет қаралды 1,4 М.
40 Advanced Tips for SSMS (To Save You Time)
29:41
Database Star
Рет қаралды 1,4 М.
How to Solve This Database Design Problem
8:09
Database Star
Рет қаралды 3,4 М.
UUID vs INT: What’s Better For Your Primary Key?
9:40
Database Star
Рет қаралды 57 М.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 202 М.
SSMS Tutorial (SQL Server Management Studio) - Feature Demonstration
13:46
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН