<jupyter_start><jupyter_text>Assignment 07 Solutions  Q-13. Write an SQL query to show only odd rows from a table.**Ans:** `SELECT * FROM Worker Where MOD(worker_id,2) = 1`  Q-14. Write an SQL query to clone a new table from another table.<jupyter_code># Code to Create a New table
CREATE TABLE CloneWorker (
    WORKER_ID INT NOT NULL AUTO INCREMENT PRIMARY KEY,
    FIRST_NAME VARCHAR(50),
    LAST_NAME VARCHAR(50),
    SALARY INT,
    DEPARTMENT VARCHAR(50),
    JOINING_DATE DATETIME
);
# Code to Clone content of a table to another table
INSERT INTO CloneWorker SELECT * FROM Worker;<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07431340872374798, 'fraction_numerical': 0.022617124394184167, 'mean_word_length': 4.344827586206897, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '329378', 'license': 'MIT', 'n_tokens_mistral': 217, 'n_tokens_neox': 197, 'n_words': 78, 'path': 'Database Assignments/SQL Assignmensts/07.Assignment_07.ipynb', 'repo_name': 'Sayan97/Python', 'size': '619'}