Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

PHP - Week 3

WTWD 410 - SQL Vocabulary

TermDefinitionExample
SQL Data Table A collection of related data held in a structured format within a database. CREATE TABLE users (id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(100), email VARCHAR(100));
SQL Data Element An individual unit of data within a data field in a database table. INSERT INTO users (name, email) VALUES ('Alice', 'alice@example.com');
SQL Data Record A single, complete set of information within a table, typically a row in the database. SELECT * FROM users WHERE id = 1;
SQL Data Field A specific column within a table designed to hold a particular type of data. SELECT name, email FROM users;
Unique ID A unique identifier for a record within a table, often a primary key. CREATE TABLE orders (order_id INT AUTO_INCREMENT PRIMARY KEY, user_id INT, order_date DATE);
SQL Statement A command used to perform tasks such as retrieving data from a database or updating records. SELECT * FROM users;
SQL Select Statement A command used to fetch data from a database table. SELECT name, email FROM users;
SQL Update Statement A command used to modify existing records in a database table. UPDATE users SET email = 'newemail@example.com' WHERE id = 1;
SQL Delete Statement A command used to remove records from a database table. DELETE FROM users WHERE id = 1;
SQL Insert Statement A command used to add new records to a database table. INSERT INTO users (name, email) VALUES ('Bob', 'bob@example.com');
SQL Create Table Statement A command used to create a new table in a database. CREATE TABLE products (product_id INT AUTO_INCREMENT PRIMARY KEY, product_name VARCHAR(100), price DECIMAL(10, 2));
SQL Alter Table Statement A command used to modify the structure of an existing table. ALTER TABLE users ADD COLUMN phone VARCHAR(15);
SQL Drop Table Statement A command used to delete an entire table from a database. DROP TABLE old_users;
Prepared Statement A feature used to execute the same or similar SQL statements repeatedly with high efficiency. $stmt = $conn->prepare("SELECT * FROM users WHERE email = ?"); $stmt->bind_param("s", $email); $stmt->execute();
SQL Operation Any action performed on a database, such as inserting, updating, or deleting data. INSERT INTO users (name, email) VALUES ('Charlie', 'charlie@example.com');
SQL Target The specific data or table that an SQL statement aims to affect or retrieve. UPDATE products SET price = 19.99 WHERE product_id = 1;
SQL Condition A clause in SQL statements used to specify criteria for data retrieval or manipulation. SELECT * FROM users WHERE age > 18;
SQL Wild Card Special characters used in SQL statements to represent one or more other characters, typically used in search patterns (e.g., % and _). SELECT * FROM users WHERE name LIKE 'A%';
Order of Execution The sequence in which SQL operations are processed by the database engine. SELECT * FROM users ORDER BY name ASC;
Exception Handling Mechanisms to handle errors or exceptions that occur during SQL execution. try { $stmt->execute(); } catch (Exception $e) { echo 'Caught exception: ', $e->getMessage(), "\n"; }
SQL Injection A code injection technique that might destroy your database, commonly used by attackers to exploit vulnerabilities in an application. $unsafe_variable = $_POST['user_input']; $query = "SELECT * FROM users WHERE name = '$unsafe_variable'"; $stmt = $conn->prepare("SELECT * FROM users WHERE name = ?"); $stmt->bind_param("s", $_POST['user_input']); $stmt->execute();
Created by: ProfJordan
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards