Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- react map error
- brew install mariadb
- map is not a function
- join
- jar deploy
- mysql error
- 도커파일
- sudo
- install
- spring framework
- DB
- jdk
- 설치
- root
- 파일 시스템
- mysql
- 관리
- systemd
- Docker
- 도커
- springboot
- sts
- Dockerfile
- ps
- mac mariadb
- Oracle
- Access denied for user ''@'localhost'
- springboot jar
- jar배포
- docker container
Archives
- Today
- Total
Yoon.s
mysql에서 발생했던 오류들 정리 본문
14:12:28 select * from customers LIMIT 0, 1000 Error Code: 1046. No database selected Select the default DB to be used by double-clicking its name in the SCHEMAS list in the sidebar. 0.0087 sec
=> 사용할 database를 선택하지 않았음
[해결 방안] use database_name;
Error Code: 1248. Every derived table must have its own alias
=>서브 쿼리를 찾지 못해서 발생
[해결방안] as cnt 등 별칭을 달아 줄 것!!
Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'full outer join suppliers s on p.supplierid=s.supplierid' at line 2
현재 mysql에서는 outer join을 더이상 쓰지 않는다고 한다. ..
[해결 방법]
select *
from A left join B
union
select *
from A right join B;
Union을 사용하거나 inner join을 활용해보아 다른 식으로 접근해보자!
'백 > DB' 카테고리의 다른 글
[mssql][oracle] 문자열 합치기 - concat, || (0) | 2023.03.07 |
---|---|
[mssql] 시작하기 (0) | 2023.03.03 |
[mysql] Access denied for user ''@'localhost' 오류 (0) | 2020.10.03 |
[mysql] mariaDB 시작하기 (0) | 2020.10.01 |
[Oracle] SQL문_JOIN (0) | 2020.08.24 |
Comments