Question
For Visual Web Developer 2010 Express: A. To familiarize yourself with Visual Web Developer and SQL Server 2008 Express Edition, create a new database named
For Visual Web Developer 2010 Express:
A. To familiarize yourself with Visual Web Developer and SQL Server 2008 Express Edition, create a new database named TestDB.mdf. After creating the database, add a new database table named Albums. Imagine that you want to use this database table to hold information about the albums you own. Add columns with appropriate types and names. Some suggested columns include the following: an Auto-increment primary key column named AlbumID; an nvarchar(50) column titled Name; an nvarchar(75) column titled Artist; and a datetime column titled DatePurchased. (Take the time to add additional pertinent columns.) After creating the Albums table, add a number of records to the table.
B. This exercise is intended to improve your proficiency with SQL. Open the query window by right-clicking the database in the Database Explorer and choosing New Query. In the query window, craft the SQL query to retrieve those books whose BookID is less than or equal to 3. (You can enter the SQL directly into the SQL pane or use the diagram or criteria pane if you prefer.) Note the list of books you see when testing the query. Now, run another query, this time retrieving those books that have a price greater than or equal to $30.00.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started