
Obtener el tamaño en Megas de una tabla
MySQL
Publicado el 23 de Marzo del 2020 por Katas (32 códigos)
1.498 visualizaciones desde el 23 de Marzo del 2020
Consulta SQL para devolver el tamaño de una tabla
isBalancedNumber(1463) # True
isBalancedNumber(48015) # True
isBalancedNumber(11) # True
isBalancedNumber(12345) # False
isBalancedNumber(1) # False
all_unique([1, 2, 3, 4]) # True
all_unique(["a", "b", "c"]) # True
all_unique([1, 2, 3, 4, 3]) # False
all_unique(["a", "b", "c", "a"]) # False
all_unique([]) # True
all_unique(["casa"]) # True
$ python3 file.py
(200, 'OK')
200
[('Date', 'Thu, 19 Mar 2020 07:12:22 GMT'), ('Expires', '-1'), ('Cache-Control', 'private, max-age=0'), ('Content-Type', 'text/html; charset=ISO-8859-1'), ('P3P', 'CP="This is not a P3P policy! See g.co/p3phelp for more info."'), ('Server', 'gws'), ('X-XSS-Protection', '0'), ('X-Frame-Options', 'SAMEORIGIN'), ('Set-Cookie', '1P_JAR=2020-03-19-07; expires=Sat, 18-Apr-2020 07:12:23 GMT; path=/; domain=.google.com; Secure'), ('Set-Cookie', 'NID=200=db5yd1k2NMEmhWeNBSB7eBqSDcrEU1N7M4WDCSXk_QyfurdmcX4njK8W_VWNtbq91RoeVKNJ_HA1BtvJZEJI5xgt4S5VZzC7saGyNfWeQwjumVCDAiS2Ypya6qhkz57cYXBecmjH_gmKfdVC63-na89nUCZu8ZJvlBc3beI1KdA; expires=Fri, 18-Sep-2020 07:12:22 GMT; path=/; domain=.google.com; HttpOnly'), ('Accept-Ranges', 'none'), ('Vary', 'Accept-Encoding'), ('Transfer-Encoding', 'chunked')]