Created
September 8, 2021 07:01
-
-
Save AgungPambudi/3b7698ab1a0cd7000bab1970f250fc07 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#author : Agung Pambudi | |
#email : [email protected] | |
#version : 0.4 | |
# | |
# | |
#============================================================================== | |
# _ _ _ | |
# ___ ___ _ _ ___ ___ ___ ___ _____| |_ _ _ _| |_| ___ ___ _____ | |
#| .'| . | | | | . | . | .'| | . | | | . | |_| _| . | | | |
#|__,|_ |___|_|_|_ | _|__,|_|_|_|___|___|___|_|_|___|___|_|_|_| | |
# |___| |___|_| | |
DROP TABLE datautama; | |
CREATE TABLE datautama SELECT kodebarang, namawarung, pesanulang FROM barang_20210831; | |
SELECT kodebarang, AVG(pesanulang) FROM datautama GROUP BY kodebarang; | |
DROP TABLE datautama; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment