What is a Soft Delete in SQL? #sql
13:18
Пікірлер
@kpicsoffice4246
@kpicsoffice4246 6 күн бұрын
Nice pls make more aws data Engg handson videos
@ETLSQL
@ETLSQL 6 күн бұрын
Sure
@mohammedkaif5223
@mohammedkaif5223 Ай бұрын
mind blown with some knowledge as beginner thanks a lot
@ETLSQL
@ETLSQL Ай бұрын
Glad you liked it 👍
@sreechalasani9268
@sreechalasani9268 Ай бұрын
Somehwat confused about your point that Redshift is a columnar database (so data is split by columns , rather than rows). Yet, in the 25:30 where you are talking about Distribution styles, the distribution is row based ?
@ETLSQL
@ETLSQL Ай бұрын
Hi, thanks for asking the question. Redshift is columnar, so while storing data in storage blocks, it arranges all column values together. This is the actual physical storage. Distribution style determines which slice will get what portion of table data. If you chose distkey then each slice will get some portion of table data depending on the key value. Say 4 slices and 12 rows. So each slice may save 3 rows, but physical storage will have column values together. Distribution determines spreading rows among the slices and columnar determines actual way of storing data in blocks.
@petersteelenator
@petersteelenator 2 ай бұрын
Such a wholesome session, pity myself it took a while for me to access this- top notch elucidation. Would you care for a rejoinder on a query? As much as clarity you have brought to the viewers on data sources and its ancillaries, I would like to bring up a nuance - If the source system places the data on a SFTP server (Batch running daily or weekly) and a file-based rule system helps the data to reach to S3 bucket and eventual journey to Redshift? Is that scenario possible?
@ETLSQL
@ETLSQL 2 ай бұрын
Yes it is very much possible. As soon as the file lands on s3 event is generated. This event can be used to trigger lambda function to run copy statement into redshift table. You can also create external table in redshift pointing to s3 path and as soon as file arrives you can see the data without loading as well.
@chaandbalan2983
@chaandbalan2983 2 ай бұрын
Great video and great explanation! Thank you! I have a question - @19:24 How did you decide that Unit_Price and Quantity are the attributes of that m:m relationship between order and product ? From a business use case, how can we understand what attributes will go into the bridge ?
@ETLSQL
@ETLSQL 2 ай бұрын
Thank you for the comment. I'm glad you find it helpful. I will say a little bit of domain knowledge can help in tagging attributes to the entities. Many to many relationships are slightly tricky and need a bridge table to establish relationships. The attributes related to such relationship goes into bridge table.
@dilludillsYT
@dilludillsYT 2 ай бұрын
Thank you
@ETLSQL
@ETLSQL 2 ай бұрын
Glad you find it helpful
@jaysont5311
@jaysont5311 2 ай бұрын
This is great
@ETLSQL
@ETLSQL 2 ай бұрын
Woo Hoo. Glad you liked it.
@nanayaw7159
@nanayaw7159 2 ай бұрын
Bravo 👏
@ETLSQL
@ETLSQL 2 ай бұрын
Woo Hoo 🥰
@DeadSilence315
@DeadSilence315 3 ай бұрын
Hello everyone, I found this video helpful, but it did not solve my use case. From my understanding, the content in this video is great if you're pulling data from a DB and want to view it in a certain way. I was looking to put data into a DB and keep the leading 0's. For this, using FORMAT fit my use case. For example, I have case numbers that go up to 10 digits. If the case number is not 10 digits long , the case will have leading 0's. To keep the leading 0's I used FORMAT(myCaseNumber,'desiredLength'). In my example below, case "1234578" was entered into the DB as "0012345678" INSERT INTO ProcessRequests (case_number) VALUES (FORMAT(12345678,'0000000000')); Note: I had to use this method because I'm using Microsoft SQL Server Management Studio. If you're not using MSSMS, look into LPAD or RPAD
@Md_Mushtaqali
@Md_Mushtaqali 3 ай бұрын
I found a website regarding Pattern System to solve the SQL problem. etlsql.kartra.com/page/sql-pattern-system-lto-sf Is this a kind of training or a book you hava published it. Please give some details about that
@ETLSQL
@ETLSQL 3 ай бұрын
Hi Mushtaq This is an online course which I created sometime back. But this is not for absolute beginners. The course is intended for people who understand sql however find it difficult to solve sql problems. In this course, I have explained how you can use alternate approaches to solve sql queries. But if you are an absolute beginner who wants to learn SQL from scratch then this course does not cover it.
@Md_Mushtaqali
@Md_Mushtaqali 3 ай бұрын
Sir i wanr to learn SQL from basic to advance level. Please do you provide any training sir
@ETLSQL
@ETLSQL 3 ай бұрын
I do not provide any sql training from basic to advance level at the moment. However, I have heard good feedback for the @ankitbansal6 course and his youtube channel. You can check his website www.namastesql.com/
@Md_Mushtaqali
@Md_Mushtaqali 4 ай бұрын
I want to learn complete sql. Do you provide any training sir
@ETLSQL
@ETLSQL 4 ай бұрын
Hi Mushtaq, Good that you want to learn sql. I don't provide basic sql training but you can find link to few helpful resources in the description
@hafizadeelarif3415
@hafizadeelarif3415 4 ай бұрын
In AWS Redshift cluster, what is zero ETL and how does it work, sir?
@ETLSQL
@ETLSQL 4 ай бұрын
Hi Hafiz, Good question. Zero ETL is a concept that is gaining popularity especially in aws ecosystem. In simple terms, it means that you connect to source directly and read the data at run time rather than bringing in data from source through ETL process. In redshift, you can connect to different data sources like RDS , dynamodb and read the data directly via sql query. You don't have to create etl pipeline to bring in data from these sources. Additionally, you can read data directly from data lake via spectrum query. Also if other source has data in redshift then you can read data directly via datashare from your redshift. In short, zero etl means the capability to read data directly from the source without the need to build etl pipelines. I strongly believe this concept will gain even more popularity in the future.
@dayal4256
@dayal4256 4 ай бұрын
Fantastic Explanation and most wanted video for the SQL folks !! , Want More content like this and want you to cover how we can increase our logical thinking on sql problems using this tricks in a short span of time that interviewer gives to us ! Omce again Great Work !! Hats Off 👏
@ETLSQL
@ETLSQL 4 ай бұрын
Woo Hoo ❤️ Glad you liked the video.
@faiza482
@faiza482 4 ай бұрын
Please make more videos using this approach.
@ETLSQL
@ETLSQL 4 ай бұрын
Sure
@shakthimaan007
@shakthimaan007 4 ай бұрын
Hi, Can please post further videos on Redshift
@ETLSQL
@ETLSQL 4 ай бұрын
Sure. Any specific topic on redshift?
@shakthimaan007
@shakthimaan007 4 ай бұрын
@@ETLSQL Firstly, Awesome content as usual..! Can try to cover topics under CDC options in Redshift, Orchestrate the data movement to redshift, how Redshift can be integrated with other AWS systems, data recovery options, About redshift specturm and any PROD use cases.
@ETLSQL
@ETLSQL 4 ай бұрын
These are some good points. Noted.
@gajanankanekar9118
@gajanankanekar9118 4 ай бұрын
Thanks very much for helping me to solve this problem
@ETLSQL
@ETLSQL 4 ай бұрын
Glad you find it helpful
@musical_Kartik
@musical_Kartik 5 ай бұрын
Your journey really gives an inspiration to acquire good technical knowledge...Thank you
@ETLSQL
@ETLSQL 5 ай бұрын
Glad you find it inspirational
@arupchandra8602
@arupchandra8602 5 ай бұрын
Very informative sir!! Waiting for your next video on Pyspark
@ETLSQL
@ETLSQL 5 ай бұрын
Glad you liked it.
@B_maheshkumar_B
@B_maheshkumar_B 5 ай бұрын
Highly recommended, Great presentation and Information to learn 👏👍
@ETLSQL
@ETLSQL 5 ай бұрын
Glad you liked it
@kolawolegabriel6558
@kolawolegabriel6558 5 ай бұрын
Excellent video i have ever watched on AWS Redshift, this is the best that Explained redshift in details
@ETLSQL
@ETLSQL 5 ай бұрын
Glad you liked it ❤️
@rajeevrana4723
@rajeevrana4723 5 ай бұрын
Very good content. Can you please upload more videos..! Thanks in advance
@ETLSQL
@ETLSQL 5 ай бұрын
Yep working on next set of videos
@SurajPatil14
@SurajPatil14 5 ай бұрын
Great 👍
@ETLSQL
@ETLSQL 5 ай бұрын
Thanks
@chinmay.dunakhe
@chinmay.dunakhe 6 ай бұрын
Awesome. Keep these coming. Just starting with Pyspark with this video.
@ETLSQL
@ETLSQL 6 ай бұрын
Alright. Good luck. 👍
@jeffbauman7567
@jeffbauman7567 6 ай бұрын
we can also use MERGE to perform incremental load right?
@ETLSQL
@ETLSQL 6 ай бұрын
Yes you are right. We can.
@srinivasareddy3709
@srinivasareddy3709 6 ай бұрын
Thank You.!!!.. Can you please share sample data which you have used ?
@ETLSQL
@ETLSQL 6 ай бұрын
Link is in the description. Sharing here for easy reference: etl-sql.com/sql-case-study-1-db-ticket/ Scroll down and click on download data button.
@ETLSQL
@ETLSQL 6 ай бұрын
Drop a comment and show some love. This tells me that you can relate to the video content. ❤
@samkhan4214
@samkhan4214 6 ай бұрын
Very nice video. Please create some more such videos based on maze approach. Thank you
@ETLSQL
@ETLSQL 6 ай бұрын
Alright 👍
@millionare1192
@millionare1192 6 ай бұрын
🎉❤
@millionare1192
@millionare1192 6 ай бұрын
What is the future of data engineers then.. isn't it a risky career for graduate who is pursuing early career in data engineering
@ETLSQL
@ETLSQL 6 ай бұрын
It's a very good question and I also think about it. The question is applicable for not only beginners but also seasoned professionals. One thing is sure that due to gen AI, the productivity of developers will increase without any doubt. This includes all developers & not only data folks. For data engineers, I believe a new job responsibility will be added in the near future, where enterprises will prefer some experience with leveraging LLM models. Some existing tasks will be automated, and a few new tasks will be added. I don't think the role will be replaced by Gen AI , though some tasks may be automated using it.
@millionare1192
@millionare1192 6 ай бұрын
Okay. Thank you. I don't miss any of your KZbin videos. They are highly helpful short and clear.
@ETLSQL
@ETLSQL 6 ай бұрын
Wooo hooo. Thank you for such a lovely comment. Appreciate it 🙏
@IndianAthlete165
@IndianAthlete165 6 ай бұрын
Sir I am trying to buy the course from yur website but it's not happening can provide your number
@ETLSQL
@ETLSQL 6 ай бұрын
Hi, Can you share the error please.
@samkhan4214
@samkhan4214 6 ай бұрын
Very nice explanation. Please make some more such video with Maze approach to solve SQL queries. Thanks in advanced
@ETLSQL
@ETLSQL 6 ай бұрын
Sure. It's on the list. Would you be interested in AWS data engineering series as well ?
@samkhan4214
@samkhan4214 6 ай бұрын
More on SQL part as well because the way you are teaching SQL is very nice . Because you are the only channel on KZbin who tell us to write the query from maze method. I request you to please make some more videos on maze SQL query writing. Here I have one more example. List the department where at least two employees work Here at least means >= i.e count(*)>= 2 In this way we can easily write SQL query from problem statement. Once again thank you so much. Please create such type of more videos.
@ETLSQL
@ETLSQL 6 ай бұрын
Sure. Please check this video too SQL Breakdown Structure, I am sure you will relate to it as well. kzbin.info/www/bejne/f4uxm5mjnqZqnpY
@vanadin8009
@vanadin8009 6 ай бұрын
Thank you for the video it was resourceful, i want to ask where did you make those graphics... and thank you for your efforts
@ETLSQL
@ETLSQL 6 ай бұрын
Glad you liked it. I used xmind app to create the graphics
@sassydesi7913
@sassydesi7913 7 ай бұрын
very nice. pls make for Different types of FACT tables too (Aggregated/Snapshot/Null etc.etc.)
@ETLSQL
@ETLSQL 6 ай бұрын
glad you liked it. sure, added to the list.
@ETLSQL
@ETLSQL 7 ай бұрын
If you are looking for more details about the 3 strategies I will recommend following videos: SQL Pattern System (Part-1): kzbin.info/www/bejne/eXmXi3iXnJygY68 SQL Pattern System (Part-2): kzbin.info/www/bejne/m6vdqGBpmruiea8 The Maze Approach : kzbin.info/www/bejne/bafaqn6rjNSrZ80 SQL Breakdown Structure: kzbin.info/www/bejne/f4uxm5mjnqZqnpY Free Training: If you want to know more about the SQL Pattern Course , I will recommend signing up for free training : etlsql.kartra.com/page/sps-free-training
@vibhavraghav
@vibhavraghav 7 ай бұрын
Great job Nitin!
@ETLSQL
@ETLSQL 7 ай бұрын
Thank you Vibhav.
@dharmeshkumar5116
@dharmeshkumar5116 7 ай бұрын
Please explain the steps with examples if possible
@ETLSQL
@ETLSQL 7 ай бұрын
If you are looking for more details about the 3 strategies I will recommend following videos: SQL Pattern System (Part-1): kzbin.info/www/bejne/eXmXi3iXnJygY68 SQL Pattern System (Part-2): kzbin.info/www/bejne/m6vdqGBpmruiea8 The Maze Approach : kzbin.info/www/bejne/bafaqn6rjNSrZ80 SQL Breakdown Structure: kzbin.info/www/bejne/f4uxm5mjnqZqnpY Free Training: If you want to know more about the SQL Pattern Course , I will recommend signing up for free training : etlsql.kartra.com/page/sps-free-training
@tamizhmalar9843
@tamizhmalar9843 7 ай бұрын
Best content delivery...one thing that I would say is that you are way too close to the mic that your swallow is heard every time you pause. I would request you to modify that alone... otherwise it is the best knowledge delivery for ETL.
@ETLSQL
@ETLSQL 7 ай бұрын
Fair point. I am working on it. Have try to fix it my new videos. Thanks for you comment 👍
@prabhuthiyagarajan7437
@prabhuthiyagarajan7437 7 ай бұрын
Can same node slice share two different column values in case of same datatype?
@ETLSQL
@ETLSQL 7 ай бұрын
Yes it can. But remember data is distributed using distkey only.
@andriys5772
@andriys5772 7 ай бұрын
Thank you!
@ETLSQL
@ETLSQL 7 ай бұрын
You're welcome!