Question: A Tweets entity in a relational database for social media has the following attributes: TweetID (the primary key, an integer number, required), UserName (text, maximum
A Tweets entity in a relational database for social media has the following attributes: TweetID (the primary key, an integer number, required), UserName (text, maximum 15 characters, required), and Content (text, maximum 140 characters, required).
(a) Write an SQL Data Definition Language command to create the table for this entity.
(b) Write an SQL Data Definition Language command to add a column for a new attribute to this table: TweetDateTime (date/time of the Tweet, required).
(c) Write an SQL Data Definition Language command to remove this table from the database.
Step by Step Solution
3.44 Rating (157 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
