I have a rating system that ranges from -1 to 5 to 0.
Therefore, I need to save the following values
-1 0 1 2 3 4 5
What is the best data type, given that I want to get the total of each value (not the sum)?
I would go with TINYINT registered here . It occupies 1 byte of memory, and its range is from -128 to 127.
TINYINT
Source: https://habr.com/ru/post/1481462/More articles:GCM XMPP on Appengine? - androidMvvmCross: how to go to something other than ViewModel? - windows-8How to find a function in the Python module tree? - pythonMySQL counts rows with the same timestamp - mysqljquery multidimensional array shuffle random - javascriptPre-crop PNG image to alpha and get offset - imageXMPP vs HTML5 Websocket? - html5Android Studio: Why my new project contains 2 modules - androidCreating an element template in Visual Studio 2012 with multiple non-attached files - c #Error Paypal Express 10413 by chance - paypalAll Articles