Database Design 9 - More Database Terms — Transcript
Full transcript
- 0:00hey everyone welcome back this video
- 0:02will be just some more vocabulary uh
- 0:04hopefully it's not 12 minutes long like
- 0:06the last one but we'll do our best all
- 0:09right so these ones are there's not as
- 0:11many we brok it up into two categories
- 0:13this one first one is SQL so first we
- 0:16learned
- 0:16about uh SQL which obviously is program
- 0:20language used to uh it's by the way I
- 0:23never even mentioned this I'm horrible
- 0:24structured query language is what SQL
- 0:26means what that's what it stands for
- 0:29it's used to to uh connect to your
- 0:32database I sorry I just got distracted I
- 0:35was waving this paper and like my lens
- 0:37is like flashing for some
- 0:41reason anyways
- 0:43uh the next part was data definition
- 0:46language which is used to define it's
- 0:49part of SQL so SQL has data definition
- 0:52language and
- 0:54DML uh data manipulation language ddl is
- 0:57used to define the structure of our
- 1:00database data manipulation language is
- 1:03used to insert values in our database as
- 1:07well as uh update them delete values and
- 1:12search values and so forth the other
- 1:15thing was I never really mention this
- 1:17but I do want to mention it here
- 1:19SQL
- 1:21keywords so anytime we have the word
- 1:24keywords in a programming language it's
- 1:26talking about something that is reserved
- 1:28that you're not supposed to to use for
- 1:30your userdefined data so for
- 1:34example select an
- 1:37SQL this is a word that your database is
- 1:41going to
- 1:42recognize as okay we want you to do
- 1:45something we want you to select data
- 1:47it's a keyword because it's already
- 1:49defined so I wouldn't I don't want to
- 1:51name my tables or my columns any
- 1:55keywords cuz it can cause errors or
- 1:58confusion or just mix things complicated
- 2:01uh I always put SQL keywords in capital
- 2:05letters all right so that's pretty much
- 2:07all for the
- 2:09SQL uh here's my
- 2:14Eraser
- 2:16America and every other
- 2:24country all
- 2:26right presentation so the very first
- 2:29thing is we have the front end of an
- 2:34application so the front end is what the
- 2:37user sees uh the back end is what's
- 2:41going on behind the
- 2:44scene when we have a website we don't
- 2:47just have what the website looks like we
- 2:49have code that gives us that look when
- 2:53we put in data to forms we have
- 2:56languages that communicate with
- 2:58databases to
- 3:00create a easy to follow non-confusing
- 3:03front end but the back end is
- 3:06complicated as
- 3:08heck so that's the difference between
- 3:10front end and back end front end is what
- 3:12the any user at a particular time will
- 3:14see the back end is what's going on
- 3:17behind the scenes so often when we're
- 3:19working with databases we will program a
- 3:22front end because we don't want everyone
- 3:24accessing our server it's insecure and
- 3:29it's just not a good idea so we often
- 3:31create a front-end application to access
- 3:34our database most commonly a website
- 3:38although there's other forms but
- 3:40whatever so if here is our database
- 3:43rather than people signing into the
- 3:45server and using SQL code to get
- 3:48information we often program front ends
- 3:52for people to access this data in a
- 3:56different way so each one of these front
- 3:59ends would be like a website page for
- 4:01example so here would be a registration
- 4:04page here would be your users page here
- 4:06would be uh your profile uh your
- 4:08homepage here would be if you like you
- 4:11can even have different tier systems so
- 4:13this could be a page where the website
- 4:17administrator can add or delete users
- 4:20they have that extra privilege this is
- 4:22also the view system which we will talk
- 4:24about in a second well the front
- 4:27end doesn't allow us to directly type in
- 4:29our own SQL it only allows us to use
- 4:33what the the front end gives us which is
- 4:36then communicated to the database so
- 4:39that's what a front end end is the back
- 4:41end would be the server side code used
- 4:44to communicate with the database so when
- 4:47we when we're talking about clients and
- 4:49servers we have those two terms we have
- 4:52client and then we have
- 4:54server so very first thing is
- 4:58client client
- 5:00is uh think of it if we have this wall
- 5:02here over here we have a
- 5:07computer and then over here we have a
- 5:13database this is the client
- 5:17side because we're accessing the
- 5:21database over here is the server
- 5:28side
- 5:32so CL uh client side and then server
- 5:34side I don't really have room to write
- 5:35that but the server serves instances of
- 5:40this database to the client where they
- 5:42can access the data in some way depends
- 5:45on how we the the Privileges we give
- 5:48them so um when we talking
- 5:52about different privileges for different
- 5:55people we use what's known as a view so
- 5:57first let me finish this client side and
- 6:00server
- 6:02side and we communicate from the client
- 6:05side to the server side by a
- 6:09server
- 6:11side scripting or
- 6:15programming
- 6:18language oh that's
- 6:21huge now my hands tired we can give
- 6:24custom views so a view is just taking
- 6:28the data from the database and
- 6:30illustrating it in a different way than
- 6:32how it's actually stored for example a
- 6:35user on a website can visit let's say
- 6:38we're on like a social network and I
- 6:40visit my friend's
- 6:42page it'll tell me their their name
- 6:45possibly their username if that's what
- 6:46they use their date of registration uh
- 6:49their phone number if that's public for
- 6:51example anything like that their
- 6:53relationship status although information
- 6:56that is private may only be accessed
- 6:59ible to the user who owns it for example
- 7:03their password or their email or uh
- 7:06their friends list that might be a
- 7:10different view depending on what page
- 7:13you are on what page you are on and the
- 7:16user that you are so I may be able to
- 7:18access my own password and email but
- 7:21that might be private to other people
- 7:23that's the
- 7:25view um views often use join
- 7:29which basically connect data from
- 7:31multiple tables to create a new table if
- 7:34we have two tables
- 7:37here users table comments
- 7:46table can you see that can you see it
- 7:49you better be able to see it well a
- 7:51comment is always given by a user and we
- 7:55connect it using the
- 7:57ID it's called a foreign key
- 8:00connection well this ID let's say it's
- 8:03the ID of 25 right well instead of
- 8:07having okay this comment was by the
- 8:09person with the name uh with the user
- 8:11with the user ID of 25 we wanted to say
- 8:15Caleb Curry so we have a join taking the
- 8:20name from the user table and apply and
- 8:24connecting it with the comment of the
- 8:26comments table to get this new t uh
- 8:29generated table this is just a view it's
- 8:33not actually stored in the database like
- 8:35this we're just creating a new
- 8:37illustration of how the data really is
- 8:39stored and then we can have the name of
- 8:41the person followed by the comment or
- 8:45comments of that
- 8:46person you may be asking why don't you
- 8:49just use the name as a reference well
- 8:52that's because many multiple people can
- 8:54have the same name for example so we
- 8:56always need something that's unique for
- 8:58this Con connection whether if you don't
- 9:01want to use an ID you could use
- 9:02something like a natural key uh username
- 9:06for example but I often use IDs and
- 9:08we'll be talking about that more in
- 9:10upcoming videos so yeah that is all of
- 9:13the vocabulary that we have gone over so
- 9:16far pretty much uh if you have any
- 9:19questions about any of those just leave
- 9:20a comment I recommend that you write all
- 9:22those down I should have told you that
- 9:24at the beginning but anyways I recommend
- 9:26you write those down as well as the
- 9:27definitions study those learn them and
- 9:30especially study from the previous video
- 9:32study all the different terms that mean
- 9:35the same thing because um after a while
- 9:39you get kind of used to those terms but
- 9:43if you're just learning and you don't
- 9:45know that these are talking about the
- 9:48same things well then you can get
- 9:49confused very easily so I recommend you
- 9:52study all right a row is also called a
- 9:54tupple and is also called a whatever
- 9:56blah blah blah BL blah that will help
- 9:58you that way when I say whatever word it
- 10:01is you know what I'm talking about and
- 10:03you don't have to like check your charts
- 10:05or whatever or go watch other videos so
- 10:09that's something I definitely recommend
- 10:10that you memorize uh as well for the SQL
- 10:13stuff it's not as important like the DML
- 10:16ddl but I do recommend that you memorize
- 10:20all of these terms as well so thank you
- 10:21for watching if you enjoyed that please
- 10:23be sure to click subscribe and I will
- 10:25see you guys in the next video where we
- 10:27are starting something new new so yeah
- 10:30I'm excited hopefully you are too
- 10:33bye peace yeah yeah yeah wow
About this transcript
This page contains the full transcript of Database Design 9 - More Database Terms by Caleb Curry, generated from the public captions YouTube serves with the video. The transcript has 1,528 words across 227 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.