how can I spend those weeks in MySQL in this table?How can I prevent SQL injection in PHP?Can I concatenate multiple MySQL rows into one field?How do I connect to a MySQL Database in Python?How to get a list of MySQL user accountsHow to reset AUTO_INCREMENT in MySQL?How to get the sizes of the tables of a MySQL database?Eliminate permutations from tableUse of Min() and Max() with MySQL Stored ProcedureHow to import an SQL file using the command line in MySQL?phpmyadmin A symbol name was expected! (near “)” at position 312)
Teaching indefinite integrals that require special-casing
What does this 7 mean above the f flat
Is there any reason not to eat food that's been dropped on the surface of the moon?
How do we know the LHC results are robust?
What is the opposite of 'gravitas'?
How was Earth single-handedly capable of creating 3 of the 4 gods of chaos?
How can I get through very long and very dry, but also very useful technical documents when learning a new tool?
What is the intuitive meaning of having a linear relationship between the logs of two variables?
Can somebody explain Brexit in a few child-proof sentences?
voltage of sounds of mp3files
when is out of tune ok?
What's the purpose of "true" in bash "if sudo true; then"
Go Pregnant or Go Home
Is a roofing delivery truck likely to crack my driveway slab?
Generic lambda vs generic function give different behaviour
What are the ramifications of creating a homebrew world without an Astral Plane?
Why did Kant, Hegel, and Adorno leave some words and phrases in the Greek alphabet?
Implement the Thanos sorting algorithm
Opposite of a diet
Can I Retrieve Email Addresses from BCC?
Using parameter substitution on a Bash array
Increase performance creating Mandelbrot set in python
Hide Select Output from T-SQL
Should my PhD thesis be submitted under my legal name?
how can I spend those weeks in MySQL in this table?
How can I prevent SQL injection in PHP?Can I concatenate multiple MySQL rows into one field?How do I connect to a MySQL Database in Python?How to get a list of MySQL user accountsHow to reset AUTO_INCREMENT in MySQL?How to get the sizes of the tables of a MySQL database?Eliminate permutations from tableUse of Min() and Max() with MySQL Stored ProcedureHow to import an SQL file using the command line in MySQL?phpmyadmin A symbol name was expected! (near “)” at position 312)
So I want to release the weeks in MySQL here in this table but how do I do that I had tried something but nothing can be released here can anyone here help me and give a good example if it is possible. year weeks must be included.
a little explanation here if I have to calculate a score every week I have to see that. and if I do that every week I always see a zero here a picture
I hope you understand a little what I mean
enter image description here
-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Dec 12, 2017 at 10:59 AM
-- Server version: 5.6.26
-- PHP Version: 5.5.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `stefaanphp`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblusers`
--
CREATE TABLE IF NOT EXISTS `tblusers` (
`id` int(11) NOT NULL,
`Auditeur` varchar(150) NOT NULL,
`Afdeling` varchar(150) NOT NULL,
`Zone` varchar(120) NOT NULL,
`Stand` varchar(150) NOT NULL,
`Score` varchar(150) NOT NULL,
`number1` char(11) NOT NULL,
`number2` char(11) NOT NULL,
`number3` char(11) NOT NULL,
`number4` char(11) NOT NULL,
`number5` char(11) NOT NULL,
`number6` char(11) NOT NULL,
`number7` char(11) NOT NULL,
`PostingDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`Week` INTEGER NOT NULL -- 1 to 52/53
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tblusers`
--
INSERT INTO `tblusers` (`id`, `Auditeur`, `Afdeling`, `Zone`, `Stand`, `Score`, `number1`, `number2`, `number3`, `number4`, `number5`, `number6`, `number7`, `Week`,`PostingDate`) VALUES
(1, 'stef', 'Combine', 'Hoofdlijn st1-4 + Onderraam 1010', 'St 6008', 'Totale Score:10', '5', '3', '3', '5', '10', '5', '1', '02', '2019-02-12 08:27:53');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tblusers`
--
ALTER TABLE `tblusers`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tblusers`
--
ALTER TABLE `tblusers`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
and I still have a question to change that date with time to only date can not get time I had already done many other options for example date just get 000-00-0000
mysql
|
show 2 more comments
So I want to release the weeks in MySQL here in this table but how do I do that I had tried something but nothing can be released here can anyone here help me and give a good example if it is possible. year weeks must be included.
a little explanation here if I have to calculate a score every week I have to see that. and if I do that every week I always see a zero here a picture
I hope you understand a little what I mean
enter image description here
-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Dec 12, 2017 at 10:59 AM
-- Server version: 5.6.26
-- PHP Version: 5.5.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `stefaanphp`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblusers`
--
CREATE TABLE IF NOT EXISTS `tblusers` (
`id` int(11) NOT NULL,
`Auditeur` varchar(150) NOT NULL,
`Afdeling` varchar(150) NOT NULL,
`Zone` varchar(120) NOT NULL,
`Stand` varchar(150) NOT NULL,
`Score` varchar(150) NOT NULL,
`number1` char(11) NOT NULL,
`number2` char(11) NOT NULL,
`number3` char(11) NOT NULL,
`number4` char(11) NOT NULL,
`number5` char(11) NOT NULL,
`number6` char(11) NOT NULL,
`number7` char(11) NOT NULL,
`PostingDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`Week` INTEGER NOT NULL -- 1 to 52/53
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tblusers`
--
INSERT INTO `tblusers` (`id`, `Auditeur`, `Afdeling`, `Zone`, `Stand`, `Score`, `number1`, `number2`, `number3`, `number4`, `number5`, `number6`, `number7`, `Week`,`PostingDate`) VALUES
(1, 'stef', 'Combine', 'Hoofdlijn st1-4 + Onderraam 1010', 'St 6008', 'Totale Score:10', '5', '3', '3', '5', '10', '5', '1', '02', '2019-02-12 08:27:53');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tblusers`
--
ALTER TABLE `tblusers`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tblusers`
--
ALTER TABLE `tblusers`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
and I still have a question to change that date with time to only date can not get time I had already done many other options for example date just get 000-00-0000
mysql
2
Unclear what you are asking, please see How to ask
– ArSeN
Mar 8 at 10:11
2
can you rephrase your question? its a little unclear what you are asking.
– Pushkar Adhikari
Mar 8 at 10:11
2
Very unclear. What do you want to do with the weeks?
– Thomas G
Mar 8 at 10:12
is there a reason for storing incrementing number columns they should be ideally be normalized to a other table. Using incrementing number columns is considerd bad practice in SQL.
– Raymond Nijland
Mar 8 at 10:14
1
year weeks must be included.
– stefaanphp
Mar 8 at 10:19
|
show 2 more comments
So I want to release the weeks in MySQL here in this table but how do I do that I had tried something but nothing can be released here can anyone here help me and give a good example if it is possible. year weeks must be included.
a little explanation here if I have to calculate a score every week I have to see that. and if I do that every week I always see a zero here a picture
I hope you understand a little what I mean
enter image description here
-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Dec 12, 2017 at 10:59 AM
-- Server version: 5.6.26
-- PHP Version: 5.5.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `stefaanphp`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblusers`
--
CREATE TABLE IF NOT EXISTS `tblusers` (
`id` int(11) NOT NULL,
`Auditeur` varchar(150) NOT NULL,
`Afdeling` varchar(150) NOT NULL,
`Zone` varchar(120) NOT NULL,
`Stand` varchar(150) NOT NULL,
`Score` varchar(150) NOT NULL,
`number1` char(11) NOT NULL,
`number2` char(11) NOT NULL,
`number3` char(11) NOT NULL,
`number4` char(11) NOT NULL,
`number5` char(11) NOT NULL,
`number6` char(11) NOT NULL,
`number7` char(11) NOT NULL,
`PostingDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`Week` INTEGER NOT NULL -- 1 to 52/53
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tblusers`
--
INSERT INTO `tblusers` (`id`, `Auditeur`, `Afdeling`, `Zone`, `Stand`, `Score`, `number1`, `number2`, `number3`, `number4`, `number5`, `number6`, `number7`, `Week`,`PostingDate`) VALUES
(1, 'stef', 'Combine', 'Hoofdlijn st1-4 + Onderraam 1010', 'St 6008', 'Totale Score:10', '5', '3', '3', '5', '10', '5', '1', '02', '2019-02-12 08:27:53');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tblusers`
--
ALTER TABLE `tblusers`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tblusers`
--
ALTER TABLE `tblusers`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
and I still have a question to change that date with time to only date can not get time I had already done many other options for example date just get 000-00-0000
mysql
So I want to release the weeks in MySQL here in this table but how do I do that I had tried something but nothing can be released here can anyone here help me and give a good example if it is possible. year weeks must be included.
a little explanation here if I have to calculate a score every week I have to see that. and if I do that every week I always see a zero here a picture
I hope you understand a little what I mean
enter image description here
-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Dec 12, 2017 at 10:59 AM
-- Server version: 5.6.26
-- PHP Version: 5.5.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `stefaanphp`
--
-- --------------------------------------------------------
--
-- Table structure for table `tblusers`
--
CREATE TABLE IF NOT EXISTS `tblusers` (
`id` int(11) NOT NULL,
`Auditeur` varchar(150) NOT NULL,
`Afdeling` varchar(150) NOT NULL,
`Zone` varchar(120) NOT NULL,
`Stand` varchar(150) NOT NULL,
`Score` varchar(150) NOT NULL,
`number1` char(11) NOT NULL,
`number2` char(11) NOT NULL,
`number3` char(11) NOT NULL,
`number4` char(11) NOT NULL,
`number5` char(11) NOT NULL,
`number6` char(11) NOT NULL,
`number7` char(11) NOT NULL,
`PostingDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`Week` INTEGER NOT NULL -- 1 to 52/53
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tblusers`
--
INSERT INTO `tblusers` (`id`, `Auditeur`, `Afdeling`, `Zone`, `Stand`, `Score`, `number1`, `number2`, `number3`, `number4`, `number5`, `number6`, `number7`, `Week`,`PostingDate`) VALUES
(1, 'stef', 'Combine', 'Hoofdlijn st1-4 + Onderraam 1010', 'St 6008', 'Totale Score:10', '5', '3', '3', '5', '10', '5', '1', '02', '2019-02-12 08:27:53');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tblusers`
--
ALTER TABLE `tblusers`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tblusers`
--
ALTER TABLE `tblusers`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
and I still have a question to change that date with time to only date can not get time I had already done many other options for example date just get 000-00-0000
mysql
mysql
edited Mar 8 at 10:53
stefaanphp
asked Mar 8 at 10:09
stefaanphpstefaanphp
15
15
2
Unclear what you are asking, please see How to ask
– ArSeN
Mar 8 at 10:11
2
can you rephrase your question? its a little unclear what you are asking.
– Pushkar Adhikari
Mar 8 at 10:11
2
Very unclear. What do you want to do with the weeks?
– Thomas G
Mar 8 at 10:12
is there a reason for storing incrementing number columns they should be ideally be normalized to a other table. Using incrementing number columns is considerd bad practice in SQL.
– Raymond Nijland
Mar 8 at 10:14
1
year weeks must be included.
– stefaanphp
Mar 8 at 10:19
|
show 2 more comments
2
Unclear what you are asking, please see How to ask
– ArSeN
Mar 8 at 10:11
2
can you rephrase your question? its a little unclear what you are asking.
– Pushkar Adhikari
Mar 8 at 10:11
2
Very unclear. What do you want to do with the weeks?
– Thomas G
Mar 8 at 10:12
is there a reason for storing incrementing number columns they should be ideally be normalized to a other table. Using incrementing number columns is considerd bad practice in SQL.
– Raymond Nijland
Mar 8 at 10:14
1
year weeks must be included.
– stefaanphp
Mar 8 at 10:19
2
2
Unclear what you are asking, please see How to ask
– ArSeN
Mar 8 at 10:11
Unclear what you are asking, please see How to ask
– ArSeN
Mar 8 at 10:11
2
2
can you rephrase your question? its a little unclear what you are asking.
– Pushkar Adhikari
Mar 8 at 10:11
can you rephrase your question? its a little unclear what you are asking.
– Pushkar Adhikari
Mar 8 at 10:11
2
2
Very unclear. What do you want to do with the weeks?
– Thomas G
Mar 8 at 10:12
Very unclear. What do you want to do with the weeks?
– Thomas G
Mar 8 at 10:12
is there a reason for storing incrementing number columns they should be ideally be normalized to a other table. Using incrementing number columns is considerd bad practice in SQL.
– Raymond Nijland
Mar 8 at 10:14
is there a reason for storing incrementing number columns they should be ideally be normalized to a other table. Using incrementing number columns is considerd bad practice in SQL.
– Raymond Nijland
Mar 8 at 10:14
1
1
year weeks must be included.
– stefaanphp
Mar 8 at 10:19
year weeks must be included.
– stefaanphp
Mar 8 at 10:19
|
show 2 more comments
1 Answer
1
active
oldest
votes
About your week question: you can use the MySQL week function to calculate the weeknumber of specific dates:
https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_week
The function expects a date or datetime, so you can just use the PostingDate that you are using in your insert statement.
About the other questions: maybe rephrase it so we can understand what you actually are asking.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060926%2fhow-can-i-spend-those-weeks-in-mysql-in-this-table%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
About your week question: you can use the MySQL week function to calculate the weeknumber of specific dates:
https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_week
The function expects a date or datetime, so you can just use the PostingDate that you are using in your insert statement.
About the other questions: maybe rephrase it so we can understand what you actually are asking.
add a comment |
About your week question: you can use the MySQL week function to calculate the weeknumber of specific dates:
https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_week
The function expects a date or datetime, so you can just use the PostingDate that you are using in your insert statement.
About the other questions: maybe rephrase it so we can understand what you actually are asking.
add a comment |
About your week question: you can use the MySQL week function to calculate the weeknumber of specific dates:
https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_week
The function expects a date or datetime, so you can just use the PostingDate that you are using in your insert statement.
About the other questions: maybe rephrase it so we can understand what you actually are asking.
About your week question: you can use the MySQL week function to calculate the weeknumber of specific dates:
https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_week
The function expects a date or datetime, so you can just use the PostingDate that you are using in your insert statement.
About the other questions: maybe rephrase it so we can understand what you actually are asking.
answered Mar 8 at 10:49
Art van ScheppingenArt van Scheppingen
1213
1213
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060926%2fhow-can-i-spend-those-weeks-in-mysql-in-this-table%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Unclear what you are asking, please see How to ask
– ArSeN
Mar 8 at 10:11
2
can you rephrase your question? its a little unclear what you are asking.
– Pushkar Adhikari
Mar 8 at 10:11
2
Very unclear. What do you want to do with the weeks?
– Thomas G
Mar 8 at 10:12
is there a reason for storing incrementing number columns they should be ideally be normalized to a other table. Using incrementing number columns is considerd bad practice in SQL.
– Raymond Nijland
Mar 8 at 10:14
1
year weeks must be included.
– stefaanphp
Mar 8 at 10:19