AKM Mahmudul Islam

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 36 total)
  • Author
    Posts
  • in reply to: Resource file link for Employee database is not found. #348916
    User AvatarAKM Mahmudul Islam
    Participant

    please try in this link> https://icedrive.net/0/4bgoZKfAMX

    in reply to: My sql install korty partyci na.. #348296
    User AvatarAKM Mahmudul Islam
    Participant

    apnar jekhane problem face korchen kindly tar ekta screenshot din.

    in reply to: SQL view and how it works #332264
    User AvatarAKM Mahmudul Islam
    Participant

    This error ( ERROR:1055) occurs when our SELECT list includes a “nonaggregated column” that is neither named among GROUP BY columns nor functionally dependent on them. Please, run the following query: “”set @@global.sql_mode := replace(@@global.sql_mode, ‘ONLY_FULL_GROUP_BY’, ”);”” Then, restart the Workbench. The issue should be resolved.

    in reply to: duplicate records #331081
    User AvatarAKM Mahmudul Islam
    Participant

    Please correct your ORDER BY line with d.dept_no; instead of m.dept_no;

    in reply to: SQL subqueris nested in select and from #330456
    User AvatarAKM Mahmudul Islam
    Participant

    >>>SELECT
    b.*
    FROM
    (SELECT
    e.emp_no AS employee_ID,
    MIN(de.dept_no) AS department_code,
    (SELECT
    emp_no
    FROM
    dept_manager
    WHERE
    emp_no = 110039) AS manager_ID<<>>SELECT
    d.*
    FROM
    (SELECT
    e.emp_no AS employee_ID,
    MIN(de.dept_no) AS department_code,
    (SELECT
    emp_no
    FROM
    dept_manager
    WHERE
    emp_no = 110022) AS manager_ID
    FROM
    employees e
    JOIN dept_emp de ON e.emp_no = de.emp_no
    WHERE
    e.emp_no = 110039
    GROUP BY e.emp_no) AS d) as u;<<<>>you had received ERROR:1048. which means you’re trying to insert a NULL value into the manager_no column, but this column has a NOT NULL constraint (which prevents NULL values)<< āĻ‰āĻ­ā§Ÿ āĻ•ā§āĻˇā§‡āĻ¤ā§āĻ°ā§‡ āĻ†āĻĒāĻ¨āĻŋ where āĻāĻ° āĻĒāĻ° manager_id determine āĻ•āĻ°āĻ¤ā§‡ āĻ­ā§āĻ˛ āĻ•āĻ°ā§‡āĻ›ā§‡āĻ¨āĨ¤ e.emp_no = 110022) AS manager_ID āĻ¨āĻž āĻšā§Ÿā§‡ āĻšāĻŦā§‡ emp_no = 110022) AS manager_IDāĨ¤ āĻāĻ–āĻ¨ try āĻ•āĻ°ā§‡ āĻĻā§‡āĻ–ā§‡āĻ¨āĨ¤ hopefully āĻ†āĻĒāĻ¨āĻŋ āĻ¸āĻŽāĻžāĻ§āĻžāĻ¨ āĻĒā§‡ā§Ÿā§‡āĻ›ā§‡āĻ¨āĨ¤"" āĻ†āĻĒāĻ¨āĻžāĻ° previous SS āĻ¯āĻž ā§§ā§Š āĻ†āĻ—āĻ¸ā§āĻŸ post āĻ•āĻ°ā§‡āĻ›āĻŋāĻ˛ā§‡āĻ¨ āĻ¤āĻž upload āĻšā§ŸāĻ¨āĻŋāĨ¤ kindly check āĻ•āĻ°ā§‡ āĻĻā§‡āĻ–āĻŦā§‡āĻ¨āĨ¤

    in reply to: duplicate records #328618
    User AvatarAKM Mahmudul Islam
    Participant

    set @@global.sql_mode := replace(@@global.sql_mode, ‘ONLY_FULL_GROUP_BY’, ”);

    āĻāĻ‡ syntax āĻŸāĻž execute āĻ•āĻ°ā§‡, āĻ¤āĻžāĻ°āĻĒāĻ° āĻ†āĻĒāĻ¨āĻžāĻ° code āĻŸāĻŋ type āĻ•āĻ°ā§‡ āĻĻā§‡āĻ–ā§‡āĻ¨ āĻ•āĻžāĻœ āĻšā§Ÿ āĻ•āĻŋāĻ¨āĻžāĨ¤ āĻāĻ•āĻŸāĻž āĻ•ā§‹āĻĄ āĻŦāĻŋāĻ­āĻŋāĻ¨ā§āĻ¨ āĻ•āĻžāĻ°āĻ¨ā§‡ error āĻĻā§‡āĻ–āĻžāĻ¤ā§‡ āĻĒāĻžāĻ°ā§‡āĨ¤ kindly, error code āĻ¸āĻš problem share āĻ•āĻ°āĻŦā§‡āĻ¨āĨ¤ āĻ†āĻ° screenshot provide āĻ•āĻ°āĻ˛ā§‡ problem āĻ•ā§‹āĻĨāĻžā§Ÿ āĻšāĻšā§āĻ›ā§‡ āĻ¤āĻž āĻŦā§āĻāĻ¤ā§‡ āĻ¸āĻšāĻœ āĻšāĻŦā§‡āĨ¤ screenshot āĻ•āĻŋāĻ­āĻžāĻŦā§‡ share āĻ•āĻ°āĻ¤ā§‡ āĻšāĻŦā§‡ āĻ¤āĻž āĻœāĻžāĻ¨āĻ¤ā§‡ helpline āĻ āĻ¯ā§‹āĻ—āĻžāĻ¯ā§‹āĻ— āĻ•āĻ°ā§āĻ¨āĨ¤

    in reply to: update statement #327702
    User AvatarAKM Mahmudul Islam
    Participant

    COMMIT āĻšāĻžāĻ˛āĻžāĻ¨ā§‹āĻ° āĻĒāĻ° ROLLBACK āĻ•āĻ°āĻ˛ā§‡ MySQL āĻ āĻĒā§‚āĻ°ā§āĻŦā§‡āĻ° āĻ°ā§‚āĻĒā§‡ āĻ¯āĻžā§ŸāĻ¨āĻžāĨ¤ āĻŦāĻŋāĻˇā§ŸāĻŸāĻŋ Lecture āĻ āĻŦāĻ˛āĻž āĻ†āĻ›ā§‡, MySQL āĻ COMMIT āĻ•āĻ°āĻžāĻ° āĻĒā§‚āĻ°ā§āĻŦ āĻĒāĻ°ā§āĻ¯āĻ¨ā§āĻ¤ ROLLBACK āĻ¸āĻ•āĻ˛ command execution āĻāĻ° UNDO āĻšāĻŋāĻ¸ā§‡āĻŦā§‡ āĻ•āĻžāĻœ āĻ•āĻ°ā§‡āĨ¤ āĻ•āĻŋāĻ¨ā§āĻ¤ā§ COMMIT command execute āĻšā§Ÿā§‡ āĻ—ā§‡āĻ˛ā§‡ āĻ¤āĻ–āĻ¨ ROLLBACK āĻ•āĻ°ā§‡ āĻĒā§‚āĻ°ā§āĻŦā§‡āĻ° Statement āĻ āĻ†āĻ¸āĻž āĻ¯āĻžā§ŸāĻ¨āĻžāĨ¤ āĻ†āĻ° āĻāĻ‡āĻŸāĻŋ āĻļā§āĻ§ā§ WORKBANCH āĻāĻ° āĻœāĻ¨ā§āĻ¯ āĻ¨ā§Ÿ, āĻ¸āĻ•āĻ˛ SQL āĻ•ā§āĻˇā§‡āĻ¤ā§āĻ°ā§‡ sameāĨ¤

    –āĻ†āĻĒāĻ¨āĻŋ SCREENSHOT āĻ•āĻŋāĻ­āĻžāĻŦā§‡ attatch āĻ•āĻ°āĻŦā§‡āĻ¨ āĻ¤āĻžāĻ° āĻŦā§āĻ¯āĻžāĻĒāĻžāĻ°ā§‡ āĻĢā§‹āĻ°āĻžāĻŽ āĻ…āĻĨāĻŦāĻž HELPLINE āĻ ASK āĻ•āĻ°ā§āĻ¨āĨ¤–

    in reply to: default constraints #324456
    User AvatarAKM Mahmudul Islam
    Participant

    āĻ†āĻĒāĻ¨āĻžāĻ° workbench e execute āĻ•āĻ°āĻž āĻ•ā§‹āĻĄā§‡āĻ° screenshot with errors āĻ¸āĻš āĻĢā§‹āĻ°āĻžāĻŽ āĻ āĻļā§‡ā§ŸāĻžāĻ° āĻ•āĻ°ā§‡āĻ¨āĨ¤

    in reply to: default constraints #324255
    User AvatarAKM Mahmudul Islam
    Participant

    āĻ†āĻĒāĻ¨āĻŋ āĻ¯ā§‡ insert command input āĻĻāĻŋā§Ÿā§‡āĻ›ā§‡āĻ¨ āĻ¸ā§‡āĻŸāĻŋ āĻ•āĻŋ semicolon āĻĻāĻŋā§Ÿā§‡ close āĻ•āĻ°ā§‡āĻ›āĻŋāĻ˛ā§‡āĻ¨? āĻ†āĻĒāĻ¨āĻŋ āĻ¯ā§‡ code share āĻ•āĻ°ā§‡āĻ›ā§‡āĻ¨ āĻ¸ā§‡āĻ–āĻžāĻ¨ā§‡ ‘;’ āĻĻā§‡āĻ–āĻ›āĻŋāĻ¨āĻžāĨ¤

    in reply to: Foreign key constraint #324254
    User AvatarAKM Mahmudul Islam
    Participant

    Did you create the relationship between primary key and foreign key properly? Foreign key āĻ āĻ•ā§‹āĻ¨ data āĻāĻ° āĻŦāĻŋāĻˇā§Ÿā§‡ āĻœāĻžāĻ¨āĻ¤ā§‡ āĻšāĻžāĻšā§āĻ›ā§‡āĻ¨ āĻ¤āĻž āĻāĻ•āĻŸāĻž screenshot āĻāĻ° āĻŽāĻžāĻ§ā§āĻ¯āĻŽā§‡ āĻĻā§‡āĻ–āĻžāĻ˛ā§‡ āĻŦā§āĻāĻ¤ā§‡ āĻ¸āĻšāĻœ āĻšāĻ¤ā§‹āĨ¤

    in reply to: Postgresql user problem #310987
    User AvatarAKM Mahmudul Islam
    Participant

    Throughout the course we focused on mySQL which is RDBMS… you are asking solution for postgresql which is ORDBMS. there are some differences between two database management system…

    in reply to: 10.2 Exercise Problem #302824
    User AvatarAKM Mahmudul Islam
    Participant

    Foreign key relationships involve a parent table that holds the central data values and a child table with identical values pointing back to its parent. The FOREIGN KEY clause is specified in the child table. It will reject any INSERT or UPDATE operation that attempts to create a foreign key value in a child table if there is no matching candidate key value in the parent table. The Problem is with the FOREIGN KEY Constraint. By Default (SET FOREIGN_KEY_CHECKS = 1). We can set the foreign key check as disabled before running the Query by executing the lines before running your query, then you can run your query successfully.
    >>> SET FOREIGN_KEY_CHECKS=0; <<<

    in reply to: Error code #295525
    User AvatarAKM Mahmudul Islam
    Participant

    did you load the “employees” database? if not, please take a look at lecture 8.1.

    in reply to: installing mysql #284147
    User AvatarAKM Mahmudul Islam
    Participant

    Is this your first time try? There is an error in your default port which is 3306. that’s why the server connection didn’t establish properly. Anyway, nothing to worry about. what you have to do is to change port 3306 to 3307. Often, this error occurs when XAMPP or MAMP is used for configuring to start MySQL on system startup, and by default MySQL uses port 3306.
    â–Ē Firstly you have to open the XAMPP Control Panel or you may download it from https://www.apachefriends.org/download.html
    â–ĒJust click the MySql config button -> click the “my.ini” file
    â–ĒIt will open in Notepad, after that you have to find and change the port no from 3306 to 3307 in two places (one is just after the “password” line and another is after the [mysqld] line.
    â–Ē Save it.
    hopefully, this will help you out with this problem.

    in reply to: Commit and Rollback Problem #281540
    User AvatarAKM Mahmudul Islam
    Participant

    did you disable the “safe update mode”? if yes then it should run properly. otherwise, can you give me a screenshot of where you faced this problem?

Viewing 15 posts - 1 through 15 (of 36 total)