Hook
More breakout videos from this creator.
This is how Huzz are going. If you wanna make sure you're not sharing, you gotta be using SQL. So the first thing we're gonna create a table called Huzz. We're gonna store the ID, the first name and the last name of all the Huzz. And we make the ID primary key. This next part is important to see if the Huzz are going. So now we're gonna create another table called Sharks. And in the Sharks table, gonna have the shark name. We're gonna have the Huzz ID. And the primary key this time gonna be a combination of the shark and the Huzz ID. We call this primary In the Shark's table, gonna make our Huzz ID foreign gonna reference the ID column in the Huzz table. So now sample Huzz and some sample Sharks in the table. And you see and you see if we try to enter a shark link to the Huzz ID four because because we don't have the ID four in our Huzz table. And now we can create this query to check if the Huzz so So we wanna select the Huzz ID and we wanna count how many sharks to that to that Huzz ID than than one shark. That is Huzz ID is going.