Include rows count to numeric stats view on table column

This commit is contained in:
Dan Sosedoff 2018-09-13 23:46:33 -05:00
parent c9018e843e
commit fb7676ab4e
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -677,7 +677,7 @@ function showUniqueColumnsValues(table, column, showCounts) {
// Show numeric stats on the field // Show numeric stats on the field
function showFieldNumStats(table, column) { function showFieldNumStats(table, column) {
var query = 'SELECT min(' + column + '), max(' + column + '), avg(' + column + ') FROM ' + table; var query = 'SELECT count(1), min(' + column + '), max(' + column + '), avg(' + column + ') FROM ' + table;
executeQuery(query, function(data) { executeQuery(query, function(data) {
$("#input").hide(); $("#input").hide();